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.io.Serializable;
import java.util.List;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:29:27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DomainGroupAddCmd implements Serializable {

    //主责企业id
    @ApiModelProperty(value = "主责企业", name = "corpinfoId", required = true)
    @NotNull(message = "主责企业不能为空")
    private Long corpinfoId;
    @ApiModelProperty(value = "领域组名称", name = "domainGroupName", required = true)
    @NotEmpty(message = "领域组名称不能为空")
    private String domainGroupName;

/** 2026-06-02 需求变更：领域类型与领域组不做强关联
    @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 = "teamDepartmentId", required = true)
    @NotNull(message = "组长部门id不能为空")
    private Long teamDepartmentId;

    @ApiModelProperty(value = "组长人员id", name = "teamUserId", required = true)
    @NotNull(message = "组长人员id不能为空")
    private Long teamUserId;

    @ApiModelProperty(value = "领域组人员列表", name = "domainGroupUserAddCmdList")
    private List<DomainGroupUserAddCmd> domainGroupUserAddCmdList;

}

