GHPurposeCustomExcelVO.java 1.46 KB
package cn.com.glsx.stoassistant.response;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.oreframework.commons.office.easyexcel.annotation.ExcelValueReplace;
import org.oreframework.commons.office.easyexcel.converter.ReplaceIntegerToStringConvert;

import java.io.Serializable;
import java.util.Date;

/**
 * @author linyj
 * @version V1.0
 * @Title: GHPurposeCustomExcelVO
 * @Description: 意向客户导出视图
 * @Company: Didihu.com.cn
 * @Date 2023/5/25 15:09
 */
@Data
public class GHPurposeCustomExcelVO implements Serializable {

    private static final long serialVersionUID = -6454996781918351566L;


    @ExcelProperty(value = "姓名")
    private String customerName;
    @ExcelProperty(value = "手机号码")
    private String customerPhone;
    @ExcelProperty(value = "车牌")
    private String customerPlateNo;
    @ExcelProperty(value = "活动名称")
    private String activityName;
    @ExcelValueReplace(replace = {"否_1", "是_2"}, repeatValue = true)
    @ExcelProperty(value = "是/否跟进", converter = ReplaceIntegerToStringConvert.class)
    private Integer followUpFlag;
    @ExcelProperty(value = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastBrowseDate;
    @ExcelProperty(value = "操作人")
    private String shareName;
    @ExcelProperty(value = "操作人手机号")
    private String sharePhone;


}