|
|
@ -33,8 +33,8 @@ public class Container extends BaseEntity { |
|
|
|
@Schema(description = "总容量") |
|
|
|
private Integer capacityTotal; |
|
|
|
|
|
|
|
@Positive(message = "使用容量 必须是正数") |
|
|
|
@Positive(message = "当前容量 必须是正数") |
|
|
|
@NotNull |
|
|
|
@Schema(description = "使用容量") |
|
|
|
@Schema(description = "当前容量") |
|
|
|
private Integer capacityUsed; |
|
|
|
} |