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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 订单使用的优惠政策新增/修改 Request VO")
@Data
public class OrderPolicySaveReqVO {

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

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

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

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

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

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

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

}