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 {
|
public class WmsActualWarehouseBatchGenerateBo {
|
||||||
|
|
||||||
/** 列数 */
|
/** 列数 */
|
||||||
@NotNull
|
|
||||||
@Min(1)
|
@Min(1)
|
||||||
private Integer columnCount;
|
private Integer columnCount;
|
||||||
|
|
||||||
/** 行数 */
|
/** 行数 */
|
||||||
@NotNull
|
|
||||||
@Min(1)
|
@Min(1)
|
||||||
private Integer rowCount;
|
private Integer rowCount;
|
||||||
|
|
||||||
/** 层数 */
|
/** 层数 */
|
||||||
@NotNull
|
|
||||||
@Min(1)
|
@Min(1)
|
||||||
private Integer layerCount;
|
private Integer layerCount;
|
||||||
|
|
||||||
/** 前缀 */
|
/** 前缀 */
|
||||||
@NotBlank
|
|
||||||
private String prefix;
|
private String prefix;
|
||||||
|
|
||||||
/** 父节点ID */
|
/** 父节点ID */
|
||||||
@NotNull
|
|
||||||
private Long parentId;
|
private Long parentId;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user