package com.fs.kdzl.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 口袋助理客户信息 DTO
 */
@Data
public class KdzlCustomerDTO {

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

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

    @ApiModelProperty(value = "客户手机号")
    private String mobile;

    @ApiModelProperty(value = "客户微信")
    private String weixin;

    @ApiModelProperty(value = "客户邮箱")
    private String email;

    @ApiModelProperty(value = "客户来源")
    private String source;

    @ApiModelProperty(value = "客户类型")
    private String type;

    @ApiModelProperty(value = "客户等级")
    private String level;

    @ApiModelProperty(value = "客户状态")
    private String status;

    @ApiModelProperty(value = "所属员工ID")
    private Integer employee_id;

    @ApiModelProperty(value = "所属员工姓名")
    private String employee_name;

    @ApiModelProperty(value = "所属部门")
    private String department;

    @ApiModelProperty(value = "客户备注")
    private String remark;

    @ApiModelProperty(value = "客户标签")
    private List<String> tags;

    @ApiModelProperty(value = "客户地址")
    private String address;

    @ApiModelProperty(value = "客户公司")
    private String company;

    @ApiModelProperty(value = "客户职位")
    private String position;

    @ApiModelProperty(value = "创建时间")
    private String create_time;

    @ApiModelProperty(value = "更新时间")
    private String update_time;

    @ApiModelProperty(value = "最后联系时间")
    private String last_contact_time;

    @ApiModelProperty(value = "联系次数")
    private Integer contact_count;

    @ApiModelProperty(value = "客户头像")
    private String avatar;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "生日")
    private String birthday;

    @ApiModelProperty(value = "客户价值评分")
    private Integer score;

    @ApiModelProperty(value = "自定义字段")
    private List<CustomField> custom_fields;

    /**
     * 自定义字段 DTO
     */
    @Data
    public static class CustomField {
        @ApiModelProperty(value = "字段名称")
        private String field_name;

        @ApiModelProperty(value = "字段值")
        private String field_value;
    }
}
