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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CustomerMergeDTO", description = "合并客户DTO")
public class CustomerMergeDTO {

    @ApiModelProperty(value = "客户id")
    private Long id;

    @ApiModelProperty(value = "被合并的客户id")
    private Long fromId;

    @ApiModelProperty(value = "客户种类（1客户、2线索）")
    private Integer customerForm;

    @ApiModelProperty(value = "是否从线索过来（0否，1是）")
    private Boolean hasFromClue;

    @ApiModelProperty(value = "是否是公共线索/公海客户（0不是，1是）")
    private Boolean hasPublicCustomer;

    @ApiModelProperty(value = "客户代码")
    private String customerCode;

    @ApiModelProperty(value = "所属大洲")
    private String continent;

    @ApiModelProperty(value = "所属国家")
    private String country;

//    @ApiModelProperty(value = "归属人员姓名")
//    private String ownerName;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "意向产品id，逗号隔开（产品来源：官网后台）")
    private String intendedProductsIds;

    @ApiModelProperty(value = "意向产品名称，逗号隔开（产品来源：官网后台）")
    private String intendedProductsNames;

    @ApiModelProperty(value = "clue状态value（对应字典clue状态value）")
    private String clueStatusDictValue;

    @ApiModelProperty(value = "客户状态value（对应字典客户状态value）")
    private String customerStatusDictValue;

    @ApiModelProperty(value = "客户来源value（对应字典客户来源value）")
    private String customerSourceDictValue;

    @ApiModelProperty(value = "客户类型value（对应字典客户类型value）")
    private String customerTypeDictValue;

    @ApiModelProperty(value = "客户等级value（对应字典客户等级value）")
    private String customerLevelDictValue;

    @ApiModelProperty(value = "客户信用等级value（对应字典客户信用等级value）")
    private String customerCreditLevelDictValue;

    @ApiModelProperty(value = "客户经济性质value（对应字典客户经济性质value）")
    private String customerEconomicNatureDictValue;

    @ApiModelProperty(value = "助记名称")
    private String mnemonicName;

    @ApiModelProperty(value = "备注信息")
    private String remark;

    @ApiModelProperty(value = "开户行")
    private String openingBank;

    @ApiModelProperty(value = "税号")
    private String taxNumber;

    @ApiModelProperty(value = "银行账号")
    private String bankAccount;

    @ApiModelProperty(value = "客户企业信息")
    private CustomerCompanyAddDTO customerCompany;

    @ApiModelProperty(value = "联系人")
    private LiaisonAddDTO liaison;

    @ApiModelProperty(value = "归属人员")
    private Long ownerBy;
}
