package com.zcloud.domain.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.List;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:28:52
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DomainDepartmentUpdateCmd  {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键id", name = "domainDepartmentId", required = true)
    private String domainDepartmentId;
    @ApiModelProperty(value = "领域类型", name = "domainType", required = true)
    @NotEmpty(message = "领域类型不能为空")
    private String domainType;
    @ApiModelProperty(value = "领域类型名称", name = "domainTypeName", required = true)
    @NotEmpty(message = "领域类型名称不能为空")
    private String domainTypeName;
    @ApiModelProperty(value = "主责部门id", name = "masterDepartmentId", required = true)
    @NotNull(message = "主责部门id不能为空")
    private Long masterDepartmentId;
    @ApiModelProperty(value = "领域负责人", name = "masterUserId", required = true)
    @NotNull(message = "领域负责人不能为空")
    private Long masterUserId;

    @ApiModelProperty(value = "领域部门人员列表", name = "domainDepartmentUserAddCmdList")
    @NotNull(message = "领域部门评审人员不能为空")
    private List<DomainDepartmentUserAddCmd> domainDepartmentUserAddCmdList;

}

