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:17
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MkmjApprovalUserUpdateCmd extends Command {
    @ApiModelProperty(value = "主键ID", name = "id", required = true)
    @NotNull(message = "主键ID不能为空")
    private Long id;
    @ApiModelProperty(value = "审批人企业id", name = "corpId", required = true)
    @NotNull(message = "审批人企业id不能为空")
    private Long corpId;
    @ApiModelProperty(value = "审批人企业名称", name = "corpName", required = true)
    @NotEmpty(message = "审批人企业名称不能为空")
    private String corpName;
    @ApiModelProperty(value = "审批人部门id", name = "deptId", required = true)
    @NotNull(message = "审批人部门id不能为空")
    private Long deptId;
    @ApiModelProperty(value = "审批人部门名称", name = "deptName", required = true)
    @NotEmpty(message = "审批人部门名称不能为空")
    private String deptName;
    @ApiModelProperty(value = "审批人id", name = "userId", required = true)
    @NotNull(message = "审批人id不能为空")
    private Long userId;
    @ApiModelProperty(value = "审批人名称", name = "userName", required = true)
    @NotEmpty(message = "审批人名称不能为空")
    private String userName;
    @ApiModelProperty(value = "人员审核权限(1-无权限,2-有权限)", name = "personnelPermissionFlag", required = true)
    @NotNull(message = "人员审核权限(1-无权限,2-有权限)不能为空")
    private Integer personnelPermissionFlag;
    @ApiModelProperty(value = "车辆审核权限(1-无权限,2-有权限)", name = "vehiclePermissionFlag", required = true)
    @NotNull(message = "车辆审核权限(1-无权限,2-有权限)不能为空")
    private Integer vehiclePermissionFlag;
    @ApiModelProperty(value = "临时审核权限(1-无权限,2-有权限)", name = "temporaryPermissionFlag", required = true)
    @NotNull(message = "临时审核权限(1-无权限,2-有权限)不能为空")
    private Integer temporaryPermissionFlag;
}

