fix:取消探测器null值校验

This commit is contained in:
nieziyan 2024-01-11 17:14:10 +08:00
parent f67db42995
commit 115731a24c

View File

@ -23,14 +23,12 @@ public class GardsDetectors implements Serializable {
* 探测器id
*/
@TableId(value = "DETECTOR_ID")
@NotNull(message = "The detector id cannot be empty", groups = {InsertGroup.class, UpdateGroup.class})
private Integer detectorId;
/**
* 探测器编码
*/
@TableField(value = "DETECTOR_CODE")
@NotBlank(message = "The detector code cannot be empty", groups = {InsertGroup.class, UpdateGroup.class})
private String detectorCode;
/**