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.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * web-client
 *
 * @Author makejava
 * @Date 2026-03-05 11:33:22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PersonAuthCmd extends Command {
    @ApiModelProperty(value = "有id就是修改项目申请人员ID", name = "applyPersonId")
    private Long applyPersonId;
    @ApiModelProperty(value = "有id就是修改项目申请人员ID", name = "xgfApplyPersonId")
    private Long xgfApplyPersonId;
    @ApiModelProperty(value = "1股份2分公司3相关方", name = "personBelongType")
    @NotNull(message = "1股份2分公司3相关方不能为空")
    private Integer personBelongType;

    //待审批人员所属企业ID
    @ApiModelProperty(value = "待审批人员所属企业ID", name = "corpinfoId")
    private Long corpinfoId;
    //待审批人员所属企业名称
    @ApiModelProperty(value = "待审批人员所属企业名称", name = "corpName")
    private String corpName;
    //待审批人员所属部门id
    @ApiModelProperty(value = "待审批人员所属部门id", name = "departmentId")
    private Long departmentId;
    //待审批人员部门名称
    @ApiModelProperty(value = "待审批人员部门名称", name = "departmentName")
    private String departmentName;
    //待审批人员id
    @ApiModelProperty(value = "待审批人员id", name = "userId")
    private Long userId;
    //待审批人员姓名
    @ApiModelProperty(value = "待审批人员姓名", name = "userName")
    private String userName;
    //头像
    @ApiModelProperty(value = "头像", name = "userFaceUrl")
    private String userFaceUrl;
    //手机号
    @ApiModelProperty(value = "手机号", name = "userPhone")
    private String userPhone;
    //身份证号码
    @ApiModelProperty(value = "身份证号码", name = "userCard")
    private String userCard;

    @ApiModelProperty(value = "授权范围港区与区域", name = "gateLevelAuthArea")
    @NotEmpty(message = "授权范围港区与区域不能为空")
    private String gateLevelAuthArea;
    @ApiModelProperty(value = "进出港权限(1:有 2：无)", name = "mkmjPermission")
    @NotNull(message = "进出港权限(1:有 2：无)不能为空")
    private Integer mkmjPermission;

}

