package com.yc.ship.module.trade.controller.admin.orderpolicy.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 订单使用的优惠政策 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderPolicyRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18521")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "订单ID", example = "14709")
    @ExcelProperty("订单ID")
    private Long orderId;

    @Schema(description = "订单号")
    @ExcelProperty("订单号")
    private String orderNo;

    @Schema(description = "政策ID", example = "25357")
    @ExcelProperty("政策ID")
    private Long policyId;

    @Schema(description = "预占数量")
    @ExcelProperty("预占数量")
    private BigDecimal preUseNum;

    @Schema(description = "实占数量")
    @ExcelProperty("实占数量")
    private BigDecimal realUseNum;

    @Schema(description = "优惠金额")
    @ExcelProperty("优惠金额")
    private BigDecimal amount;

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

}