package com.zcloud.basic.info.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;

/**
* web-client
* @Author SondonYong
* @Date 2025-10-31 09:50:15
*/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserQualificationInfoAddCmd extends Command {

    @ApiModelProperty(value = "人员资质id", name = "userQualificationinfoId")
    private String userQualificationinfoId;

    @ApiModelProperty(value = "企业id", name = "corpinfoId")
    private Long corpinfoId;

    @ApiModelProperty(value = "用户id", name = "userId", required = true)
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @ApiModelProperty(value = "资质名称", name = "qualificationName", required = true)
    @NotEmpty(message = "资质名称不能为空")
    private String qualificationName;

    @ApiModelProperty(value = "证书编号", name = "certificateNo", required = true)
    @NotEmpty(message = "证书编号不能为空")
    private String certificateNo;

    @ApiModelProperty(value = "资质类型,1-特种作业证书,2-安全人员证书", name = "qualificationinfoType", required = true)
    @NotNull(message = "资质类型不能为空")
    private Integer qualificationinfoType;

    // 证书作业类别-字典编码
    @ApiModelProperty(value = "证书作业类别-字典编码", name = "qualificationinfoCategory", required = true)
    @NotEmpty(message = "证书作业类别不能为空")
    private String qualificationinfoCategory;
    // 证书作业类别名称
    @ApiModelProperty(value = "证书作业类别名称", name = "qualificationinfoCategoryName", required = true)
    @NotEmpty(message = "证书作业类别不能为空")
    private String qualificationinfoCategoryName;
    // 操作项目-字典编码(特种有,安全没有)
    @ApiModelProperty(value = "操作项目-字典编码(特种有,安全没有)", name = "operatingProject")
    private String operatingProject;
    // 操作项目名称(特种有,安全没有)
    @ApiModelProperty(value = "操作项目名称(特种有,安全没有)", name = "operatingProjectName")
    private String operatingProjectName;

}

