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;
import java.util.Date;

/**
 * web-client
 *
 * @Author makejava
 * @Date 2026-03-05 11:33:20
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PersonMessageAddCmd extends Command {
    @ApiModelProperty(value = "人员申请id", name = "personApplyId", required = true)
    @NotNull(message = "人员申请id不能为空")
    private Long personApplyId;
    @ApiModelProperty(value = "1股份2分公司3相关方4临时人员", name = "personBelongType", required = true)
    @NotNull(message = "1股份2分公司3相关方4临时人员不能为空")
    private Integer personBelongType;
    @ApiModelProperty(value = "头像", name = "userFaceUrl", required = true)
    @NotEmpty(message = "头像不能为空")
    private String userFaceUrl;
    @ApiModelProperty(value = "身份证号码", name = "userCard", required = true)
    @NotEmpty(message = "身份证号码不能为空")
    private String userCard;
    @ApiModelProperty(value = "授权范围港区与区域", name = "gateLevelAuthArea", required = true)
    @NotEmpty(message = "授权范围港区与区域不能为空")
    private String gateLevelAuthArea;
    @ApiModelProperty(value = "授权访问起始时间", name = "visitStartTime", required = true)
    @NotEmpty(message = "授权访问起始时间不能为空")
    private String visitStartTime;
    @ApiModelProperty(value = "授权访问结束时间", name = "visitEndTime", required = true)
    @NotEmpty(message = "授权访问结束时间不能为空")
    private String visitEndTime;
    @ApiModelProperty(value = "备注", name = "remarks", required = true)
    @NotEmpty(message = "备注不能为空")
    private String remarks;
    @ApiModelProperty(value = "对接状态，1对接完成，2未对接", name = "syncStatus", required = true)
    @NotNull(message = "对接状态，1对接完成，2未对接不能为空")
    private Integer syncStatus;
    @ApiModelProperty(value = "对接说明", name = "syncRemarks", required = true)
    @NotEmpty(message = "对接说明不能为空")
    private String syncRemarks;
}

