| | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | |
| | | private String cityCode; |
| | | @ApiModelProperty(value = "围栏编号唯一 规则:城市首字母-类型简写-4位自增流水号(如 SZ-OP-001)") |
| | | private String electronicNumber; |
| | | |
| | | @ApiModelProperty(value = "面积") |
| | | private BigDecimal area; |
| | | @ApiModelProperty(value = "围栏状态 0=草稿 1=待启用 2=启用中 3=已停用 草稿传0 发布传1") |
| | | @NotNull(message = "围栏状态不能为空") |
| | | private Integer status; |
| | |
| | | private Integer effectType; |
| | | |
| | | @ApiModelProperty(value = "生效时间") |
| | | @NotNull(message = "生效时间不能为空") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private LocalDateTime effectTime; |
| | | |
| | |
| | | private Integer failureType; |
| | | |
| | | @ApiModelProperty(value = "失效时间") |
| | | @NotNull(message = "失效时间不能为空") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private LocalDateTime failureTime; |
| | | |