package com.rj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lb_purchase_apply")
@Schema(description = "进货申请信息表")
public class LbPurchaseApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键ID")
    private Long id;

    @TableField("tenant_id")
    @Schema(description = "租户id")
    private String tenantId;

    @TableField("apply_user")
    @Schema(description = "申请人")
    private String applyUser;

    @TableField("apply_phone")
    @Schema(description = "申请人电话")
    private String applyPhone;

    @TableField("try_date")
    @Schema(description = "试用日期")
    private String tryDate;

    @TableField("age")
    @Schema(description = "年龄")
    private Integer age;

    @TableField("work_experience")
    @Schema(description = "从业经历")
    private String workExperience;

    @TableField("colleague_name")
    @Schema(description = "同事姓名")
    private String colleagueName;

    @TableField("colleague_phone")
    @Schema(description = "同事电话")
    private String colleaguePhone;

    @TableField("team_leader")
    @Schema(description = "团队长")
    private String teamLeader;

    @TableField("team_big_leader")
    @Schema(description = "双收益团队长")
    private String teamBigLeader;

    @TableField("apply_date")
    @Schema(description = "申请日期")
    private LocalDate applyDate;

    @TableField("create_time")
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @TableField("update_time")
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
