package com.bonus.canteen.core.order.domain.param;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class OrderPartRefundDetailParam {
    @NotNull(message = "订单详情ID不能为空")
    private Long detailId;
    @NotNull(message = "订单退款数量不能为空")
    @Min(value = 1, message = "订单退款数量不能小于1")
    private Integer quantity;

}
