package com.yami.shop.service.impl;

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.math.BigDecimal;
import java.util.Date;

/**
 * 积分充值导入模板DTO
 */
@Data
public class PointsRechargeTemplateDTO {

    @ExcelProperty("所属企业")
    @ColumnWidth(20)
    private String channelName;

    @ExcelProperty("员工名称")
    @ColumnWidth(20)
    private String userName;

    @ExcelProperty("员工电话号码")
    @ColumnWidth(20)
    private String userPhone;

    @ExcelProperty("充值积分")
    @ColumnWidth(20)
    private BigDecimal points;

    @ExcelProperty("过期日期(yyyy/MM/dd)")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy/MM/dd") // 可选：指定日期格式
    private Date expiryDate;

}
