| | |
| | | @ApiModelProperty("点位名称") |
| | | private String pointName; |
| | | |
| | | @NotNull(message = "运维单位不能为空", groups = {Add.class, Update.class}) |
| | | @ApiModelProperty("运维单位") |
| | | private Integer unitId; |
| | | |
| | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date recoveryTime; |
| | | |
| | | @ApiModelProperty("点位开始时间") |
| | | @TableField("start_time") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date startTime; |
| | | |
| | | @ApiModelProperty("点位结束时间") |
| | | @TableField("end_time") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date endTime; |
| | | public static YwPoint getEntityByForm(@NonNull YwPointForm form, YwPoint entity) { |
| | | if(entity == null) { |
| | | entity = new YwPoint(); |