| | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Size; |
| | | |
| | | @Schema(name = "CouponClaimStatusRequest", description = "\u4f18\u60e0\u5238\u9886\u53d6\u548c\u4f7f\u7528\u72b6\u6001\u53c2\u6570") |
| | | @Schema(name = "CouponClaimStatusRequest", description = "优惠券领取和使用状态参数") |
| | | public record CouponClaimStatusRequest( |
| | | @Schema(description = "\u9886\u53d6\u72b6\u6001\uff1a0\u5f85\u9886\u53d6\u30011\u5df2\u9886\u53d6\u30012\u5df2\u53d6\u6d88") Integer claimStatus, |
| | | @Schema(description = "\u4f7f\u7528\u72b6\u6001\uff1a0\u672a\u4f7f\u7528\u30011\u5df2\u4f7f\u7528\u30012\u5df2\u8fc7\u671f\u30013\u5df2\u4f5c\u5e9f") Integer useStatus, |
| | | @Schema(description = "\u4f7f\u7528\u8ba2\u5355ID") Long orderId, |
| | | @Size(max = 500) @Schema(description = "\u72b6\u6001\u5907\u6ce8") String remark |
| | | @Schema(description = "领取状态:0待领取、1已领取、2已取消") Integer claimStatus, |
| | | @Schema(description = "使用状态:0未使用、1已使用、2已过期、3已作废") Integer useStatus, |
| | | @Schema(description = "使用订单ID") Long orderId, |
| | | @Size(max = 500) @Schema(description = "状态备注") String remark |
| | | ) {} |