package cn.cordys.crm.customer.dto;

import cn.cordys.crm.customer.domain.CustomerPool;
import cn.cordys.crm.system.dto.ScopeNameDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class CustomerPoolDTO extends CustomerPool {

    @Schema(description = "成员集合")
    private List<ScopeNameDTO> members;
    @Schema(description = "管理员集合")
    private List<ScopeNameDTO> owners;
    @Schema(description = "创建人名称")
    private String createUserName;
    @Schema(description = "更新人名称")
    private String updateUserName;
    @Schema(description = "领取规则")
    private CustomerPoolPickRuleDTO pickRule;
    @Schema(description = "回收规则")
    private CustomerPoolRecycleRuleDTO recycleRule;
    @Schema(description = "字段配置")
    private List<CustomerPoolFieldConfigDTO> fieldConfigs;

    @Schema(description = "是否可编辑")
    private Boolean editable;
}
