package com.ensign.crm.module.crm.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ensign.crm.framework.excel.core.annotations.DictFormat;
import com.ensign.crm.framework.excel.core.annotations.ExcelColumnSelect;
import com.ensign.crm.framework.excel.core.convert.DictConvert;
import com.ensign.crm.module.system.enums.DictTypeConstants;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Description: 经销商登记分录
 * @Date: 29/11/2024 2:36 pm
 * @Created: by ZZSLL
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false)
public class DealerRegistrationModel {

    @ExcelProperty("公司名称或客户姓名")
    private String yem_tcompanyname_jxs;

    @ExcelProperty("客户联系人")
    private String yem_customerlxr_jxs;

    @ExcelProperty("客户联系方式")
    private String yem_customercontact_jxs;

    @ExcelProperty(value = "区域", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.REGION_OPTION)
    @ExcelColumnSelect(dictType = DictTypeConstants.REGION_OPTION)
    private String yem_region_jxs;

    @ExcelProperty(value = "意向强度", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.INTENTION_OPTION)
    @ExcelColumnSelect(dictType = DictTypeConstants.INTENTION_OPTION)
    private String yem_intentionality;

    @ExcelProperty("转换客户")
    private String yem_switching;

}
