~~~
rk
9 小时以前 b5f8660e06bb79d125019b4883e2b4807f095530
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
}