package com.zcloud.primeport.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.*;

/**
 * web-client
 *
 * @Author dearLin
 * @Date 2026-03-20 10:07:13
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ClosedAreaCarApplyAddCmd extends Command {
    @ApiModelProperty(value = "申请归属1股份2分公司3相关方4临时人员5分公司内部车辆", name = "carBelongType", required = true)
    @NotNull(message = "申请归属1股份2分公司3相关方4临时人员不能为空")
    private Integer carBelongType;

    @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)
    private Long levelOneMkmjId;

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

    @ApiModelProperty(value = "封闭区域名称", name = "closedAreaName", required = true)
    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)
    private Long jurisdictionalCorpId;

    @ApiModelProperty(value = "区域管辖单位名称", name = "jurisdictionalCorpName", required = true)
    private String jurisdictionalCorpName;

    @ApiModelProperty(value = "项目id", name = "projectId", required = true)
    private Long projectId;

    @ApiModelProperty(value = "项目名称", name = "projectName", required = true)
    private String projectName;

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

    @ApiModelProperty(value = "随行人员", name = "entourage", required = true)
    private String entourage;

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

    @ApiModelProperty(value = "驾驶人ID", name = "drivingUserId", required = true)
    private Long drivingUserId;
    @ApiModelProperty(value = "驾驶人名称", name = "drivingUserName", required = true)
    private String drivingUserName;

    @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;



    //申请人员所属企业ID
    @ApiModelProperty(value = "申请人员所属企业ID", name = "applyPersonCorpId", required = true)
    private Long applyPersonCorpId;
    //申请人员所属企业名称
    @ApiModelProperty(value = "申请人员所属企业名称", name = "applyPersonCorpName", required = true)
    private String applyPersonCorpName;
    //待审批人员所属部门id
    @ApiModelProperty(value = "待审批人员所属部门id", name = "applyPersonDepartmentId", required = true)
    private Long applyPersonDepartmentId;
    //申请人员部门名称
    @ApiModelProperty(value = "申请人员部门名称", name = "applyPersonDepartmentName", required = true)
    private String applyPersonDepartmentName;
    //申请人员id
    @ApiModelProperty(value = "申请人员id", name = "applyPersonUserId", required = true)
    private Long applyPersonUserId;
    //申请人员姓名
    @ApiModelProperty(value = "申请人员姓名", name = "applyPersonUserName", required = true)
    private String applyPersonUserName;

    //申请人头像
    @ApiModelProperty(value = "申请人头像", name = "userFaceUrl", required = true)
    private String userFaceUrl;
    //申请人手机号
    @ApiModelProperty(value = "申请人手机号", name = "userPhone", required = true)
    private String userPhone;
    //申请人身份证号码
    @ApiModelProperty(value = "申请人身份证号码", name = "userCard", required = true)
    private String userCard;
}

