diff --git a/jeecg-module-data-analyze/src/main/java/org/jeecg/entity/GardsStations.java b/jeecg-module-data-analyze/src/main/java/org/jeecg/entity/GardsStations.java new file mode 100644 index 0000000..b5053b4 --- /dev/null +++ b/jeecg-module-data-analyze/src/main/java/org/jeecg/entity/GardsStations.java @@ -0,0 +1,103 @@ +package org.jeecg.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; +import org.springframework.format.annotation.DateTimeFormat; + +import java.io.Serializable; +import java.util.Date; + +@Data +@TableName(value = "CONFIGURATION.GARDS_STATIONS") +public class GardsStations implements Serializable { + + /** + * 台站id + */ + @TableId(type = IdType.INPUT) + private Integer stationId; + + /** + * 台站编码 + */ + @TableField(value = "STATION_CODE") + private String stationCode; + + /** + * 城市编码 + */ + @TableField(value = "COUNTRY_CODE") + private String countryCode; + + /** + * 台站类型 + */ + @TableField(value = "TYPE") + private String type; + + /** + * 经度 + */ + @TableField(value = "LON") + private Double lon; + + /** + * 纬度 + */ + @TableField(value = "LAT") + private Double lat; + + /** + * 海拔 + */ + @TableField(value = "ELEVATION") + private Double elevation; + + /** + * 描述 + */ + @TableField(value = "DESCRIPTION") + private String description; + + /** + * 开始运行日期 + */ + @TableField(value = "DATE_BEGIN") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date dateBegin; + + /** + * 运行终止日期 + */ + @TableField(value = "DATE_END") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date dateEnd; + + /** + * 运行状态 + */ + @TableField(value = "STATUS") + private String status; + + /** + * 操作时间 + */ + @TableField(value = "MODDATE") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date moddate; + + @TableField(value = "CATEGORY") + private Integer category; + /** + * 有效率计算类型 + */ + @TableField(value = "EFFIC_CALCUL_TYPE") + private String efficCalculType; +}