From 0553d847853cf5579ac91381fd1981f63725cff0 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期六, 03 八月 2024 14:38:49 +0800 Subject: [PATCH] 平台在线率表、定时任务ping、同步 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwPoint.java | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwPoint.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwPoint.java index e041929..dab8936 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwPoint.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwPoint.java @@ -3,13 +3,15 @@ import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; -import java.time.LocalDateTime; - +import com.fasterxml.jackson.annotation.JsonFormat; import com.ycl.platform.base.AbsEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.experimental.Accessors; + +import java.time.LocalDateTime; +import java.util.Date; /** * 杩愮淮鐐逛綅 @@ -31,10 +33,12 @@ @ApiModelProperty("鐐逛綅寮�濮嬫椂闂�") @TableField("start_time") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime startTime; @ApiModelProperty("鐐逛綅缁撴潫鏃堕棿") @TableField("end_time") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime endTime; @ApiModelProperty("杩愮淮鍗曚綅") @@ -60,5 +64,14 @@ @TableField("point_tag") private String pointTag; + @TableField("reason") + private String reason; + + @TableField("recovery") + private Integer recovery; + + @TableField("recovery_time") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date recoveryTime; } -- Gitblit v1.8.0