修改监测信息库实体类
This commit is contained in:
parent
d0e8848d43
commit
bec7452eaa
|
|
@ -23,13 +23,12 @@ import java.util.Date;
|
||||||
@TableName("CONFIGURATION.GARDS_NUCLEAR_REACTORS")
|
@TableName("CONFIGURATION.GARDS_NUCLEAR_REACTORS")
|
||||||
public class GardsNuclearReactors implements Serializable {
|
public class GardsNuclearReactors implements Serializable {
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 主键ID
|
* 主键ID
|
||||||
*/
|
*/
|
||||||
@TableId(value = "ID", type = IdType.AUTO)
|
@TableId(value = "ID", type = IdType.NONE)
|
||||||
private Integer id;
|
private Integer id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,10 @@ package org.jeecg.modules.base.entity.configuration;
|
||||||
import com.baomidou.mybatisplus.annotation.*;
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.apache.ibatis.type.JdbcType;
|
|
||||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.time.LocalDateTime;
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -53,18 +51,18 @@ public class GardsNuclearReleaseRecords implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 开始时间
|
* 开始时间
|
||||||
*/
|
*/
|
||||||
@Excel(name = "开始时间", format = "yyyy-MM-dd", width = 20, height = 20, orderNum = "3")
|
@Excel(name = "开始时间", width = 20, height = 20, orderNum = "3")
|
||||||
@TableField(value = "START_TIME", fill = FieldFill.INSERT_UPDATE)
|
@TableField(value = "START_TIME")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
/**
|
/**
|
||||||
* 结束时间
|
* 结束时间
|
||||||
*/
|
*/
|
||||||
@Excel(name = "结束时间", format = "yyyy-MM-dd", width = 20, height = 20, orderNum = "4")
|
@Excel(name = "结束时间", width = 20, height = 20, orderNum = "4")
|
||||||
@TableField(value = "END_TIME", fill = FieldFill.INSERT_UPDATE)
|
@TableField(value = "END_TIME")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
package org.jeecg.modules.base.entity.configuration;
|
package org.jeecg.modules.base.entity.configuration;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.*;
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
@ -26,8 +28,10 @@ public class GardsNuclideDecay implements Serializable {
|
||||||
|
|
||||||
@TableField("ENERGY")
|
@TableField("ENERGY")
|
||||||
@Excel(name = "能量", width = 20, height = 20, orderNum = "1")
|
@Excel(name = "能量", width = 20, height = 20, orderNum = "1")
|
||||||
private Double energy;
|
private String energy;
|
||||||
|
|
||||||
@TableField(value = "MODDATE", fill = FieldFill.INSERT_UPDATE)
|
@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;
|
private Date moddate;
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user