package com.ruoyi.buyerapi.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业信息员工对象 buyer_dept_employee
 *
 * @author ruoyi
 * @date 2022-09-22
 */
@ApiModel(value = "企业信息员工对象")
@Data
public class BuyerDeptEmployee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "id")
    private String id;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注")
    private String remarks;

    /** 删除标志（0代表存在 1代表删除） */
    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    private String delFlag;

    /** 公司id */
    @Excel(name = "公司id")
    @ApiModelProperty(value = "公司id")
    private String deptId;

    /** 姓名 */
    @Excel(name = "姓名")
    @ApiModelProperty(value = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    @ApiModelProperty(value = "性别")
    private String sex;

    /** 证件号码 */
    @Excel(name = "证件号码")
    @ApiModelProperty(value = "证件号码")
    private String idNumber;

    /** 出生日期 */
    @ApiModelProperty(value = "出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String birthdate;

    /** 学历 */
    @ApiModelProperty(value = "学历")
    @Excel(name = "学历")
    private String education;

    /** 毕业院校 */
    @ApiModelProperty(value = "毕业院校")
    @Excel(name = "毕业院校")
    private String college;

    /** 专业 */
    @ApiModelProperty(value = "专业")
    @Excel(name = "专业")
    private String major;

    /** 部门 */
    @ApiModelProperty(value = "部门")
    @Excel(name = "部门")
    private String dept;

    /** 职务 */
    @ApiModelProperty(value = "职务")
    @Excel(name = "职务")
    private String post;

    /** 职称 */
    @ApiModelProperty(value = "职称")
    @Excel(name = "职称")
    private String professional;

    /** 入职日期 */
    @ApiModelProperty(value = "入职日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hiredate;

    /** 员工类型（1全职2在职） */
    @ApiModelProperty(value = "员工类型（1全职2在职）")
    @Excel(name = "员工类型", readConverterExp = "1=全职2在职")
    private String employeeType;

    /** 员工状态（1在职2离职） */
    @ApiModelProperty(value = "员工状态（1在职2离职）")
    @Excel(name = "员工状态", readConverterExp = "1=在职2离职")
    private String employeeStatus;

    /** 离职日期 */
    @ApiModelProperty(value = "离职日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resignationDate;

    /** 工资 */
    @ApiModelProperty(value = "工资")
    @Excel(name = "工资")
    private BigDecimal wages;

    /** 学历职称照片 */
    @ApiModelProperty(value = "学历职称照片")
    private String fileNames;

    /** 开始日期 */
    @ApiModelProperty(value = "开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    /** 结束日期 */
    @ApiModelProperty(value = "结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    /** 关联文件 */
    @ApiModelProperty(value = "关联文件")
    private List<BuyerFileInfo> buyerFileInfos;
}
