package cn.iocoder.yudao.module.member.controller.admin.storeorder.vo;

import cn.iocoder.yudao.module.member.controller.app.storeorder.vo.AppStoreOrderDetailVo;
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.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 商品订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StoreOrderDetailVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22788")
    @ExcelProperty("编号")
    private Integer orderId;

    @Schema(description = "设备ID")
    private String equipmentCode;

    @Schema(description = "总价钱", example = "1722")
    private Double totalPrice;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "减免金额")
    private Double reductionPrice;

    @Schema(description = "用户", example = "1722")
    private String nickName;
    @Schema(description = "手机", example = "1722")
    private String mobile;
    @Schema(description = "门店", example = "1722")
    private String storesName;
    private Long carteenId;

    @Schema(description = "订单详情")
    private List<AppStoreOrderDetailVo> detailDOS;

}