package cn.gistack.sm.sjztmd.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
|
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;
|
|
/**
|
* @PROJECT_NAME: skjcmanager
|
* @DESCRIPTION: 白蚁普查
|
* @USER: aix
|
* @DATE: 2024/3/11 14:02
|
*/
|
@Data
|
@TableName(value = "\"tb_res_general_investigation_state\"", autoResultMap = true)
|
@ApiModel(value = "水库白蚁年度普查填报状态", description = "水库白蚁年度普查填报状态")
|
public class TbResGeneralInvestigationState 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("\"tb_year\"")
|
private Integer tbYear;
|
|
/**
|
* 填报季度
|
*/
|
@ApiModelProperty(value = "填报季度")
|
@TableField(value = "\"tb_quarter\"")
|
private String tbQuarter;
|
|
/**
|
* 水库编码
|
*/
|
@ApiModelProperty(value = "水库编码")
|
@TableField(value = "\"res_guid\"")
|
private String resGuid;
|
|
/**
|
* 危害等级
|
*/
|
@ApiModelProperty(value = "危害等级")
|
@TableField(value = "\"danger_level\"")
|
private Integer dangerLevel;
|
|
|
/**
|
* 填报状态(0 填报中 1 已提交/待校核 2 已校核/待审核 3已审核)
|
*/
|
@ApiModelProperty(value = "0 填报中 1 已提交/待校核 2 已校核/待审核 3已审核")
|
@TableField("\"check_state\"")
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Integer checkState;
|
|
/**
|
* 创建时间
|
*/
|
@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(value = "\"create_user\"")
|
private String createUser;
|
|
}
|