package com.qqchen.deploy.backend.deploy.dto;

import com.qqchen.deploy.backend.deploy.enums.ProjectGroupTypeEnum;
import com.qqchen.deploy.backend.framework.dto.BaseDTO;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class ProjectGroupDTO extends BaseDTO {

    //    @NotNull(message = "租户ID不能为空")
    private String tenantCode;

    @NotNull(message = "项目组类型不能为空")
    private ProjectGroupTypeEnum type;

    @NotBlank(message = "项目组编码不能为空")
    private String projectGroupCode;

    @NotBlank(message = "项目组名称不能为空")
    private String projectGroupName;

    private String projectGroupDesc;

    private Integer totalEnvironments;

    private Integer totalApplications;

    private Boolean enabled;

    @NotNull(message = "排序号不能为空")
    private Integer sort;
} 