package com.red.circle.other.app.dto.cmd;

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * BD团队成员详情查询命令
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BdTeamMemberDetailQueryCmd extends AppExtCommand {

    /**
     * 目标ID
     * type=AGENCY: 传userId
     * type=BD: 传bdUserId
     */
    @NotNull(message = "目标ID不能为空")
    private Long targetId;

    /**
     * 类型
     * AGENCY: 查询Agency下的Host列表
     * BD: 查询BD下的所有Agency团队数据
     */
    @NotNull(message = "类型不能为空")
    private String type;
}
