package cn.iocoder.yudao.module.member.controller.app.orderdetail.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - 订单明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppOrderDetailRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20679")
    @ExcelProperty("编号")
    private Long id;
    @Schema(description = "门店id",  example = "20679")
    private Long storeId;
    @Schema(description = "订单ID", example = "31077")
    @ExcelProperty("订单ID")
    private Long orderId;

    @Schema(description = "菜品ID", example = "1216")
    @ExcelProperty("菜品ID")
    private Long dishesId;

    @Schema(description = "菜品", example = "王五")
    @ExcelProperty("菜品")
    private String dishesName;

    @Schema(description = "重量")
    @ExcelProperty("重量")
    private BigDecimal weight;

    @Schema(description = "热量")
    @ExcelProperty("热量")
    private Double heat;
    @Schema(description = "价格")
    @ExcelProperty("价格")
    private BigDecimal price;
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    private BigDecimal dishesBasePrice;

    /**
     * 总价格
     */
    private BigDecimal dishesSumPrice;
    /**
     * 菜品总重量
     */
    private BigDecimal dishesNumber;

    /**
     * 菜品单价
     */
    private BigDecimal unitPrice;

}