package cn.gistack.sm.jcsb.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import org.springblade.core.mp.base.BaseEntity;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
|
/**
|
* 大坝监测上报实体类
|
*/
|
@Data
|
@TableName(value = "SM_DB_REPORT")
|
@EqualsAndHashCode(callSuper = true)
|
public class DbReport extends BaseEntity {
|
|
// 水库名称
|
private String reservoirName;
|
|
//水库id
|
private String reservoirId;
|
|
//测站类型
|
private String type;
|
|
//测站id
|
private String stationId;
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date recordTime;
|
|
//监测值
|
private String val;
|
|
//水平监测值
|
private String deVal;
|
|
//上下监测值
|
private String dnVal;
|
|
//位移垂直监测值
|
private String duVal;
|
|
//描述
|
private String description;
|
}
|