refactor(domain): 移除不必要的校验注解
- 删除columnCount字段上的@NotNull注解 - 删除rowCount字段上的@NotNull注解 - 删除layerCount字段上的@NotNull注解 - 删除prefix字段上的@NotBlank注解 - 删除parentId字段上的@NotNull注解
This commit is contained in:
@@ -13,25 +13,20 @@ import javax.validation.constraints.NotNull;
|
||||
public class WmsActualWarehouseBatchGenerateBo {
|
||||
|
||||
/** 列数 */
|
||||
@NotNull
|
||||
@Min(1)
|
||||
private Integer columnCount;
|
||||
|
||||
/** 行数 */
|
||||
@NotNull
|
||||
@Min(1)
|
||||
private Integer rowCount;
|
||||
|
||||
/** 层数 */
|
||||
@NotNull
|
||||
@Min(1)
|
||||
private Integer layerCount;
|
||||
|
||||
/** 前缀 */
|
||||
@NotBlank
|
||||
private String prefix;
|
||||
|
||||
/** 父节点ID */
|
||||
@NotNull
|
||||
private Long parentId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user