package cn.gistack.sm.sjztmd.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
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 = "主键")
|
@TableId(value = "\"guid\"",type = IdType.ASSIGN_ID)
|
private String guid;
|
|
/**
|
* 水库编码
|
*/
|
@ApiModelProperty(value = "水库编码")
|
@TableField("\"res_guid\"")
|
private String resGuid;
|
|
/**
|
* 名称
|
*/
|
@ApiModelProperty(value = "名称")
|
@TableField(value = "\"name\"",fill = FieldFill.UPDATE)
|
private String name;
|
|
/**
|
* 数量
|
*/
|
@ApiModelProperty(value = "数量")
|
@TableField(value = "\"num\"",fill = FieldFill.UPDATE)
|
private Integer num;
|
|
/**
|
* 厂房布置型式
|
*/
|
@ApiModelProperty(value = "厂房布置型式")
|
@TableField(value = "\"plant_layout_type\"",fill = FieldFill.UPDATE)
|
private Integer plantLayoutType;
|
|
/**
|
* 装机容量
|
*/
|
@ApiModelProperty(value = "装机容量")
|
@TableField(value = "\"installed_capacity\"",fill = FieldFill.UPDATE)
|
private Integer installedCapacity;
|
|
/**
|
* 平均年利用小时
|
*/
|
@ApiModelProperty(value = "平均年利用小时")
|
@TableField(value = "\"year_avg_hour\"",fill = FieldFill.UPDATE)
|
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;
|
|
}
|