package com.ruoyi.system.domain;

import java.util.Date;

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 com.ruoyi.common.core.domain.GnhzBaseEntity;
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;

/**
 * 承包商用户工种关系对象 tb_contractor_user_profession_relation
 *
 * @author ruoyi
 * @date 2023-08-04
 */
@TableName("tb_contractor_user_profession_relation")
@Data
public class ContractorUserProfessionRelation extends GnhzBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** uuid主键 */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /** 承包商用户UUID */
    @Excel(name = "承包商用户UUID")
    private String contractorUserId;

    /** 工种ID */
    @Excel(name = "工种ID")
    private String contractorProfessionId;

    /** 证书图片 */
    @Excel(name = "证书图片")
    private String certificateImage;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificateCode;

    /** 证书有效期开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证书有效期开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date certificateStartDate;

    /** 证书有效期结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证书有效期结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date certificateEndDate;

}
