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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 用户团队可部署数据DTO
 *
 * @author qqchen
 * @since 2025-11-06
 */
@Data
@Schema(description = "用户团队可部署数据")
public class UserTeamDeployableDTO {

    @Schema(description = "团队ID")
    private Long teamId;

    @Schema(description = "团队编码")
    private String teamCode;

    @Schema(description = "团队名称")
    private String teamName;

    @Schema(description = "团队描述")
    private String description;

    @Schema(description = "团队负责人ID")
    private Long ownerId;

    @Schema(description = "团队负责人名称")
    private String ownerName;

    @Schema(description = "团队成员列表")
    private List<UserDeployableTeamMemberDTO> members;

    @Schema(description = "可部署环境列表")
    private List<UserDeployableTeamEnvironmentDTO> environments;
}

