package cn.gistack.sm.sjztmd.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 中台水库电站实体类-填报
|
*
|
* @author zhongrj
|
* @date 2023-08-15
|
*/
|
@Data
|
@TableName("\"tb_att_res_power_station\"")
|
@ApiModel(value = "水库电站对象", description = "水库电站对象")
|
public class TbAttResPowerStation implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty(value = "主键")
|
@TableField("\"guid\"")
|
private String guid;
|
|
/**
|
* 水库编码
|
*/
|
@ApiModelProperty(value = "水库编码")
|
@TableField("\"res_guid\"")
|
private String resGuid;
|
|
/**
|
* 厂房布置型式
|
*/
|
@ApiModelProperty(value = "厂房布置型式")
|
@TableField("\"plant_layout_type\"")
|
private Integer plantLayoutType;
|
|
/**
|
* 装机容量
|
*/
|
@ApiModelProperty(value = "装机容量")
|
@TableField("\"installed_capacity\"")
|
private Integer installedCapacity;
|
|
/**
|
* 平均年利用小时
|
*/
|
@ApiModelProperty(value = "平均年利用小时")
|
@TableField("\"year_avg_hour\"")
|
private Integer yearAvgHour;
|
|
/**
|
* 填报状态(0:填写中,1:审核中,2:审核通过)
|
*/
|
@ApiModelProperty(value = "填报状态(0:填写中,1:审核中,2:审核通过) ")
|
@TableField("\"check_state\"")
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Integer checkState;
|
|
/**
|
* 审核记录
|
*/
|
@ApiModelProperty(value = "审核记录 ")
|
@TableField("\"check_log\"")
|
private String checkLog;
|
|
/**
|
* 创建时间
|
*/
|
@ApiModelProperty(value = "创建时间 ")
|
@TableField("\"create_time\"")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/**
|
* 操作记录
|
*/
|
@ApiModelProperty(value = "操作记录 ")
|
@TableField("\"log\"")
|
private String log;
|
|
}
|