package com.storlead.sales.pojo.dto.customer;

import com.baomidou.mybatisplus.annotation.TableField;
import com.storlead.sales.enums.ResourceTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CustomerCollaboratorDTO", description = "客户等业务添加协作DTO")
public class CustomerCollaboratorDTO {

    @ApiModelProperty(value = "类型:1新增、2移除")
    private Integer type;

    @ApiModelProperty(value = "资源类型，对应ResourceTypeEnum（10:客户、11线索、20:联系人、30:商机、40:订单、50:回款、60:退款、70:费用、80:任务、90:跟进、100:工单）")
    private String resourceType;

    @ApiModelProperty(value = "客户idList")
    private List<Long> resourceIdList;

    @ApiModelProperty(value = "要新增/移除的人员列表")
    private List<Long> userIdList;

}
