package cn.iocoder.yudao.module.system.controller.admin.biz.vo.excel;

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.LocalDate;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class DishesOrderStatisticsExcelVO {
    @ExcelProperty("长者姓名")
    private String elderName;
    @ExcelProperty("长者身份证")
    private String idCard;
    @ExcelProperty("餐厅名称")
    private String restaurantName;
    @ExcelProperty("订餐日期")
    private LocalDate orderDate;
    @ExcelProperty("菜品名称")
    private String foodName;
    @ExcelProperty("数量")
    private Integer num;
    @ExcelProperty("单价")
    private BigDecimal price;

}
