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

import com.storlead.sales.pojo.entity.customer.LiaisonEntity;
import com.storlead.sales.pojo.entity.task.TaskEntity;
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 = "CustomerConvertDTO", description = "线索转为客户DTO")
public class CustomerConvertDTO {

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

    @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 customerName;

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

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

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

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

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

    @ApiModelProperty(value = "首要联系人")
    private LiaisonEntity liaison;
}
