Administrator
2025-07-02 4c9c358ede7e52d6063716b3374dd437910cd417
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package cc.mrbird.febs.mall.dto.clothes;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
 
@Data
@ApiModel(value = "ApiClothesMemberStatureAddDto", description = "参数")
public class ApiClothesMemberStatureAddDto {
 
 
    @NotBlank(message = "昵称不能为空")
    @ApiModelProperty(value = "昵称")
    private String name;
 
    @NotNull(message = "身高不能为空")
    @Min(value = 0, message = "身高不能小于0")
    @Max(value = 240, message = "身高不能大于240CM")
    @ApiModelProperty(value = "身高")
    private BigDecimal heightLine;
 
    @NotNull(message = "胸围不能为空")
    @Min(value = 0, message = "胸围不能小于0")
    @ApiModelProperty(value = "胸围")
    private BigDecimal bustLine;
 
    @NotNull(message = "腰围不能为空")
    @Min(value = 0, message = "腰围不能小于0")
    @ApiModelProperty(value = "腰围")
    private BigDecimal waistLine;
 
    @NotNull(message = "肩宽不能为空")
    @Min(value = 0, message = "肩宽不能小于0")
    @ApiModelProperty(value = "肩宽")
    private BigDecimal wideLine;
 
    @NotNull(message = "每页数量不能为空")
    @Min(value = 0, message = "臀围不能小于0")
    @ApiModelProperty(value = "臀围")
    private BigDecimal hipLine;
 
    @NotNull(message = "是否默认不能为空")
    @ApiModelProperty(value = "是否默认 0-否 1-是")
    private Integer state;
 
}