package com.zcloud.basic.info.persistence.dataobject;

import com.baomidou.mybatisplus.annotation.*;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.Date;

/**
 * web-infrastructure
 *
 * @Author SondonYong
 * @Date 2025-10-31 09:50:31
 */
@Data
@TableName("user_qualification_info")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class UserQualificationInfoDO extends BaseDO {
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String userQualificationinfoId;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //用户id
    @ApiModelProperty(value = "用户id")
    private Long userId;
    //资质名称
    @ApiModelProperty(value = "资质名称")
    private String qualificationName;
    //证书编号
    @ApiModelProperty(value = "证书编号")
    private String certificateNo;

    // 资质类型,1-特种作业证书,2-安全人员证书
    @ApiModelProperty(value = "资质类型,1-特种作业证书,2-安全人员证书")
    private Integer qualificationinfoType;
    // 证书作业类别-字典编码
    @ApiModelProperty(value = "证书作业类别-字典编码")
    private String qualificationinfoCategory;
    // 证书作业类别名称
    @ApiModelProperty(value = "证书作业类别名称")
    private String qualificationinfoCategoryName;
    // 操作项目-字典编码(特种有,安全没有)
    @ApiModelProperty(value = "操作项目-字典编码(特种有,安全没有)")
    private String operatingProject;
    // 操作项目名称(特种有,安全没有)
    @ApiModelProperty(value = "操作项目名称(特种有,安全没有)")
    private String operatingProjectName;

    @ApiModelProperty(value = "人员名称")
    @TableField(exist = false)
    private String userName;

    @ApiModelProperty(value = "入职状态, 1-在职 0-离职")
    @TableField(exist = false)
    private String employmentFlagName;

    @ApiModelProperty(value = "部门名称")
    @TableField(exist = false)
    private String departmentName;

    public UserQualificationInfoDO(String userQualificationinfoId) {
        this.userQualificationinfoId = userQualificationinfoId;
    }

}

