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

import com.baomidou.mybatisplus.annotation.TableField;
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 = "CustomerTransferDTO", description = "客户转移DTO")
public class CustomerTransferDTO {

    @ApiModelProperty(value = "要转移的业务类型（10:客户、11线索、20:联系人、30:商机、40:订单、50:回款、60:退款、70:费用、80:任务、90:跟进、100:工单）")
    @TableField("resource_type")
    private String resourceType;

    @ApiModelProperty(value = "要转移的主键idList")
    private List<Long> idList;

    @ApiModelProperty(value = "离职人员")
    private List<Long> oldOwnerByIdls;

    @ApiModelProperty(value = "离职人员")
    private Long oldOwnerBy;

    @ApiModelProperty(value = "接收对象")
    private Long newOwnerBy;

    @ApiModelProperty(value = "备注内容")
    private String remark;

    @ApiModelProperty(value = "操作方式value(对应字典操作方式value1领取、2分配、3创建、4置公、5离职继承)")
    private Integer operatingType;

}
