package com.zhgd.xmgl.modules.basicdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 参建单位
 * @author： pengj
 * @date： 2023-03-13
 * @version： V1.0
 */
@Data
@TableName("company")
@ApiModel(value = "Company实体类", description = "Company")
public class Company implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 单位ID(主键ID)
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "单位ID(主键ID)")
    private Long id;
    /**
     * 单位sn
     */
    @Excel(name = "单位sn", width = 15)
    @ApiModelProperty(value = "单位sn")
    private String companySn;
    /**
     * 参建单位类型
     */
    @Excel(name = "参建单位类型", width = 15)
    @ApiModelProperty(value = "参建单位类型")
    private String type;
    /**
     * 单位名称
     */
    @Excel(name = "单位名称", width = 15)
    @ApiModelProperty(value = "单位名称")
    private String companyName;
    /**
     * 统一社会信用代码
     */
    @Excel(name = "统一社会信用代码", width = 15)
    @ApiModelProperty(value = "统一社会信用代码")
    private String creditCode;
    /**
     * 地址
     */
    @Excel(name = "地址", width = 15)
    @ApiModelProperty(value = "地址")
    private String address;
    /**
     * 注册日期
     */
    @Excel(name = "注册日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "注册日期")
    private Date registrationDate;
    /**
     * 联系人
     */
    @Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private String leadName;
    /**
     * 联系电话
     */
    @Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
    private String leadTel;
    /**
     * 劳资专管员姓名
     */
    @Excel(name = "劳资专管员姓名", width = 15)
    @ApiModelProperty(value = "劳资专管员姓名")
    private String salaryManager;
    /**
     * 劳资专管员身份证号码
     */
    @Excel(name = "劳资专管员身份证号码", width = 15)
    @ApiModelProperty(value = "劳资专管员身份证号码")
    private String salaryManagerCard;
    /**
     * 劳资专管员电话
     */
    @Excel(name = "劳资专管员电话", width = 15)
    @ApiModelProperty(value = "劳资专管员电话")
    private String salaryManagerTel;
    /**
     * 法人姓名
     */
    @Excel(name = "法人姓名", width = 15)
    @ApiModelProperty(value = "法人姓名")
    private String legalPerson;
    /**
     * 法人身份证号码
     */
    @Excel(name = "法人身份证号码", width = 15)
    @ApiModelProperty(value = "法人身份证号码")
    private String legalPersonCard;
    /**
     * 法人电话
     */
    @Excel(name = "法人电话", width = 15)
    @ApiModelProperty(value = "法人电话")
    private String legalPersonTel;
    /**
     * 注册资本
     */
    @Excel(name = "注册资本", width = 15)
    @ApiModelProperty(value = "注册资本")
    private String registeredCapital;
    /**
     * 邮箱
     */
    @Excel(name = "邮箱", width = 15)
    @ApiModelProperty(value = "邮箱")
    private String email;
    /**
     * 入场时间
     */
    @Excel(name = "入场时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "入场时间")
    private Date entryTime;
    /**
     * 营业执照有效期
     */
    @Excel(name = "营业执照有效期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "营业执照有效期")
    private Date businessLicenseLifespan;
    /**
     * 工程sn
     */
    @Excel(name = "工程sn", width = 15)
    @ApiModelProperty(value = "工程sn")
    private String engineeringSn;
    /**
     * 项目sn
     */
    @Excel(name = "项目sn", width = 15)
    @ApiModelProperty(value = "项目sn")
    private String projectSn;
}
