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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

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

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

    @Schema(description = "名称")
    private String policyName;

    @Schema(description = "折扣")
    private BigDecimal discount;

    @Schema(description = "折扣类型")
    private Integer discountType;

    @Schema(description = "使用数量")
    private BigDecimal useNum;

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

    @Schema(description = "使用的房间roomIndexId列表")
    private List<String> rooms;

}