package com.huiju.estateagents.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 推荐客户
 */
@Data
public class ExcelRecommendCustomer {

    /**
     * 姓名
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "姓名", index = 0)
    private String name;

    /**
     * 电话
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "电话", index = 1)
    private String phone;

    /**
     * 性别
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "性别", index = 2)
    private String sex;

    /**
     * 意向项目
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "意向项目", index = 3)
    private String intention;

    /**
     * 推荐人姓名
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "推荐人姓名", index = 4)
    private String recommend;

    /**
     * 推荐人电话
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "推荐人电话", index = 5)
    private String recommendTel;

    @ColumnWidth(15)
    @DateTimeFormat("yyyy年MM月dd日")
    @ExcelProperty(value = "推荐时间", index = 6)
    private Date createDate;

    /**
     * 审核状态名
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "审核状态", index = 7)
    private String verifyStatusName;





}
