package cn.iocoder.yudao.module.system.controller.admin.yk.vo;

import cn.iocoder.yudao.module.system.convert.excel.LocalDateTimeConvert;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class YkElderlyExpenseRecordWeChatImportVO {
    @ExcelProperty(value = "流水号")
    private String serialNum;

    @ExcelProperty(value = "长者饭堂所属区")
    private String canteenArea;

    @ExcelProperty(value = "长者饭堂所属街道")
    private String canteenStreet;

    @ExcelProperty(value = "长者饭堂")
    private String canteen;

    @ExcelProperty(value = "运营机构")
    private String institution;

    @ExcelProperty(value = "服务对象姓名")
    private String serviceObj;

    @ExcelProperty(value = "服务对象身份证")
    private String idCard;

    @ExcelProperty(value = "消费类型")
    private String subsidyType;
    /**
     * 金额
     */
    @ExcelProperty(value = "金额（元）")
    private BigDecimal selfPaidAmount;
    /**
     * 消费前余额
     */
    @ExcelProperty(value = "消费前余额（元）")
    private BigDecimal consumptionBefore;
    /**
     * 消费后余额
     */
    @ExcelProperty(value = "消费后余额（元）")
    private BigDecimal consumptionAfter;


    @ExcelProperty(value = "操作时间",converter = LocalDateTimeConvert.class)
    private LocalDateTime consumptionTime;


    @ExcelProperty(value = "操作人")
    private String createBy;

    @ExcelProperty(value = "操作账号")
    private String createAccount;
}
