package com.doumee.dao.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotNull; /** * 订单物品项DTO * * @Author : Rk * @create 2026/4/14 */ @Data @ApiModel("订单物品项") public class OrderItemDTO { @ApiModelProperty(value = "物品类型/尺寸ID", required = true) @NotNull(message = "物品类型不能为空") private Integer categoryId; @ApiModelProperty(value = "数量", required = true) @NotNull(message = "数量不能为空") private Integer quantity; }