GHPurposeCustomExcelVO.java
1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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;
}