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 com.alibaba.excel.converters.localdatetime.LocalDateTimeDateConverter;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

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

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class YkElderlyExpenseRecordImportVO {

    @ExcelProperty(value = "流水号")
    private String serialNum;

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

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

    @ExcelProperty(value = "补贴类型")
    private String subsidyType;

    @ExcelProperty(value = "用餐类型")
    private String mealType;
    /**
     * 用餐时段
     */
    @ExcelProperty(value = "用餐时段")
    private String mealPeriod;

    @ExcelProperty(value = "套餐名称")
    private String comboName;
    /**
     * 消费总金额
     */
    @ExcelProperty(value = "消费总金额（元）")
    private BigDecimal totalConsumptionAmount;
    /**
     * 就餐时间
     */
    @ExcelProperty(value = "就餐时间")
    private LocalDateTime mealTime;

    @ExcelProperty(value = "订单状态")
    private String orderStatus;

    /**
     * 市就餐补贴（元）
     */
    @ExcelProperty(value = "市就餐补贴（元）")
    private BigDecimal citySubsidy;

    @ExcelProperty(value = "市送餐补贴（元）")
    private BigDecimal cityDeliverySubsidy;
    /**
     * 区补贴（元）
     */
    @ExcelProperty(value = "区补贴（元）")
    private BigDecimal districtSubsidy;
    /**
     * 区慈善会补贴（元）
     */
    @ExcelProperty(value = "区慈善会补贴（元）")
    private BigDecimal districtCharitySubsidy;
    /**
     * 街道补贴（元）
     */
    @ExcelProperty(value = "街道补贴（元）")
    private BigDecimal streetSubsidy;
    /**
     * 街道慈善会补贴（元）
     */
    @ExcelProperty(value = "街道慈善会补贴（元）")
    private BigDecimal streetCharitySubsidy;
    /**
     * 总补贴金额（不含运营补贴）
     */
    @ExcelProperty(value = "总补贴金额（元）(不含运营补贴)")
    private BigDecimal totalSubsidyWithoutOperation;
    /**
     * 运营补贴
     */
    @ExcelProperty(value = "运营补贴（元）(对老人不展示)")
    private BigDecimal operationSubsidyForElderly;
    /**
     * 自费金额
     */
    @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 payType;

}
