package com.zcloud.basic.info.dto;

import com.alibaba.cola.dto.Command;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;
import java.time.LocalDate;
import java.util.Date;

/**
* web-client
* @Author SondonYong
* @Date 2025-10-31 09:50:46
*/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserQualificationInfoUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;

    @ApiModelProperty(value = "业务主键id", name = "userQualificationinfoId", required = true)
    @NotEmpty(message = "业务主键id不能为空")
    private String userQualificationinfoId;

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

