package com.zcloud.primeport.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 dearLin
 * @Date 2026-03-20 10:07:15
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClosedAreaCarApplyUpdateCmd extends Command {
    @ApiModelProperty(value = "申请归属1股份2分公司3相关方4临时人员", name = "personBelongType", required = true)
    @NotNull(message = "申请归属1股份2分公司3相关方4临时人员不能为空")
    private Integer personBelongType;

    @ApiModelProperty(value = "车牌类型数据字典", name = "licenceType", required = true)
    @NotEmpty(message = "车牌类型数据字典不能为空")
    private String licenceType;

    @ApiModelProperty(value = "车牌类型名称0-白牌  1- 蓝牌   2-黄牌  3-绿牌   4-黑牌", name = "licenceTypeName", required = true)
    @NotEmpty(message = "车牌类型名称0-白牌  1- 蓝牌   2-黄牌  3-绿牌   4-黑牌不能为空")
    private String licenceTypeName;

    @ApiModelProperty(value = "车牌号", name = "licenceNo", required = true)
    @NotEmpty(message = "车牌号不能为空")
    private String licenceNo;

    @ApiModelProperty(value = "车辆类型", name = "vehicleType", required = true)
    @NotEmpty(message = "车辆类型不能为空")
    private String vehicleType;

    @ApiModelProperty(value = "车辆类型-名字", name = "vehicleTypeName", required = true)
    @NotEmpty(message = "车辆类型-名字不能为空")
    private String vehicleTypeName;

    @ApiModelProperty(value = "一级口门id", name = "levelOneMkmjId", required = true)
//    @NotNull(message = "一级口门id不能为空")
    private Long levelOneMkmjId;

    @ApiModelProperty(value = "二级口门id(封闭区域口门)", name = "levelTwoMkmjId", required = true)
//    @NotNull(message = "二级口门id(封闭区域口门)不能为空")
    private Long levelTwoMkmjId;

    @ApiModelProperty(value = "封闭区域id", name = "closedAreaId", required = true)
    @NotNull(message = "封闭区域id不能为空")
    private Long closedAreaId;

    @ApiModelProperty(value = "封闭区域名称", name = "closedAreaName", required = true)
//    @NotEmpty(message = "封闭区域名称不能为空")
    private String closedAreaName;

    @ApiModelProperty(value = "访问起始时间", name = "visitStartTime", required = true)
    @NotNull(message = "访问起始时间不能为空")
    private String visitStartTime;

    @ApiModelProperty(value = "访问结束时间", name = "visitEndTime", required = true)
    @NotNull(message = "访问结束时间不能为空")
    private String visitEndTime;

    @ApiModelProperty(value = "区域管辖单位名id", name = "jurisdictionalCorpId", required = true)
//    @NotNull(message = "区域管辖单位名id不能为空")
    private Long jurisdictionalCorpId;

    @ApiModelProperty(value = "区域管辖单位名称", name = "jurisdictionalCorpName", required = true)
//    @NotEmpty(message = "区域管辖单位名称不能为空")
    private String jurisdictionalCorpName;

    @ApiModelProperty(value = "项目id", name = "projectId", required = true)
//    @NotNull(message = "项目id不能为空")
    private Long projectId;

    @ApiModelProperty(value = "项目名称", name = "projectName", required = true)
//    @NotEmpty(message = "项目名称不能为空")
    private String projectName;

    @ApiModelProperty(value = "申请理由", name = "applyReason", required = true)
    @NotEmpty(message = "申请理由不能为空")
    private String applyReason;


    @ApiModelProperty(value = "随行人员", name = "entourage", required = true)
//    @NotEmpty(message = "随行人员不能为空")
    private String entourage;

    @ApiModelProperty(value = "告知签字", name = "informSignId", required = true)
    @NotNull(message = "告知签字不能为空")
    private String informSignId;

    @ApiModelProperty(value = "行驶证照片", name = "drivingLicenseId", required = true)
    @NotEmpty(message = "行驶证照片不能为空")
    private String drivingLicenseId;

    @ApiModelProperty(value = "车辆照片", name = "attachmentId", required = true)
    @NotEmpty(message = "车辆照片不能为空")
    private String attachmentId;

    @ApiModelProperty(value = "审批人员所属企业ID", name = "auditPersonCorpId", required = true)
    @NotNull(message = "审批人员所属企业ID不能为空")
    private Long auditPersonCorpId;

    @ApiModelProperty(value = "审批人员所属企业名称", name = "auditPersonCorpName", required = true)
    @NotEmpty(message = "审批人员所属企业名称不能为空")
    private String auditPersonCorpName;

    @ApiModelProperty(value = "审批人员所属部门id", name = "auditPersonDepartmentId", required = true)
    @NotNull(message = "审批人员所属部门id不能为空")
    private Long auditPersonDepartmentId;

    @ApiModelProperty(value = "审批人员部门名称", name = "auditPersonDepartmentName", required = true)
    @NotEmpty(message = "审批人员部门名称不能为空")
    private String auditPersonDepartmentName;

    @ApiModelProperty(value = "审批人员id", name = "auditPersonUserId", required = true)
    @NotNull(message = "审批人员id不能为空")
    private Long auditPersonUserId;

    @ApiModelProperty(value = "审批人员姓名", name = "auditPersonUserName", required = true)
    @NotEmpty(message = "审批人员姓名不能为空")
    private String auditPersonUserName;

    @ApiModelProperty(value = "审批时间", name = "auditTime", required = true)
    @NotEmpty(message = "审批时间不能为空")
    private String auditTime;

    @ApiModelProperty(value = "驳回原因", name = "refusalReason", required = true)
//    @NotEmpty(message = "驳回原因不能为空")
    private String refusalReason;
}

