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/1/3 14:02
|
*/
|
@Data
|
@TableName(value = "\"tb_res_general_investigation\"", autoResultMap = true)
|
@ApiModel(value = "水库白蚁普查填报", description = "水库白蚁普查填报")
|
public class TbResGeneralInvestigation 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\"", fill = FieldFill.UPDATE)
|
private String tbQuarter;
|
|
/**
|
* 是否普查完成
|
*/
|
@ApiModelProperty(value = "是否普查完成")
|
@TableField("\"is_inv_com\"")
|
private Integer isInvCom;
|
|
/**
|
* 年度填报状态表id
|
*/
|
@ApiModelProperty(value = "年度填报状态表id")
|
@TableField(value = "\"tb_state_id\"", fill = FieldFill.UPDATE)
|
private String tbStateId;
|
|
/**
|
* 水库编码
|
*/
|
@ApiModelProperty(value = "水库编码")
|
@TableField(value = "\"res_guid\"", fill = FieldFill.UPDATE)
|
private String resGuid;
|
|
/**
|
* 水库名称
|
*/
|
@ApiModelProperty(value = "水库名称")
|
@TableField(value = "\"res_name\"", fill = FieldFill.UPDATE)
|
private String resName;
|
|
/**
|
* 普查种类
|
*/
|
@ApiModelProperty(value = "普查种类(白蚁、獾、狐、鼠等)")
|
@TableField(value = "\"investigation_variety\"", fill = FieldFill.UPDATE)
|
private String investigationVariety;
|
|
/**
|
* 是否蚁患
|
*/
|
@ApiModelProperty(value = "是否蚁患")
|
@TableField(value = "\"is_ant_infestation\"", fill = FieldFill.UPDATE)
|
private String isAntInfestation;
|
/**
|
* 是否蚁源
|
*/
|
@ApiModelProperty(value = "是否蚁源")
|
@TableField(value = "\"is_ant_source\"", fill = FieldFill.UPDATE)
|
private String isAntSource;
|
/**
|
* 部位
|
*/
|
@ApiModelProperty(value = "部位")
|
@TableField(value = "\"part_place\"", fill = FieldFill.UPDATE)
|
private String partPlace;
|
/**
|
* 部位
|
*/
|
@ApiModelProperty(value = "部位描述")
|
@TableField(value = "\"part_place_info\"", fill = FieldFill.UPDATE)
|
private String partPlaceInfo;
|
|
/**
|
* 普查面积
|
*/
|
@ApiModelProperty(value = "普查面积")
|
@TableField(value = "\"investigation_area\"", fill = FieldFill.UPDATE)
|
private String investigationArea;
|
|
/**
|
* 普查类型
|
*/
|
@ApiModelProperty(value = "普查类型")
|
@TableField(value = "\"investigation_type\"", fill = FieldFill.UPDATE)
|
private String investigationType;
|
|
/**
|
* 普查方式
|
*/
|
@ApiModelProperty(value = "普查方式")
|
@TableField(value = "\"investigation_way\"", fill = FieldFill.UPDATE)
|
private String investigationWay;
|
|
/**
|
* 危害等级
|
*/
|
@ApiModelProperty(value = "危害等级")
|
@TableField(value = "\"hazard_rating\"", fill = FieldFill.UPDATE)
|
private String hazardRating;
|
|
/**
|
* 普查长度
|
*/
|
@ApiModelProperty(value = "普查长度")
|
@TableField(value = "\"investigation_length\"", fill = FieldFill.UPDATE)
|
private Double investigationLength;
|
|
|
/**
|
* 白蚁活动迹象
|
*/
|
@ApiModelProperty(value = "白蚁活动迹象")
|
@TableField(value = "\"signs_of_termite_activity\"", fill = FieldFill.UPDATE)
|
private String signsOfTermiteActivity;
|
|
/**
|
* 危害等级
|
*/
|
@ApiModelProperty(value = "桩号")
|
@TableField(value = "\"stake_mark\"", fill = FieldFill.UPDATE)
|
private String stakeMark;
|
|
/**
|
* 危害等级
|
*/
|
@ApiModelProperty(value = "是否致险情况")
|
@TableField(value = "\"is_danger\"", fill = FieldFill.UPDATE)
|
private String isDanger;
|
|
/**
|
* 致险情况详情
|
*/
|
@ApiModelProperty(value = "致险情况详情")
|
@TableField(value = "\"danger_info\"", fill = FieldFill.UPDATE, typeHandler = FastjsonTypeHandler.class)
|
private Object dangerInfo;
|
|
/**
|
* 图片数组
|
*/
|
@ApiModelProperty(value = "图片数组")
|
@TableField(value = "\"image_urls\"", fill = FieldFill.UPDATE, typeHandler = FastjsonTypeHandler.class)
|
private Object[] imageUrls;
|
|
/**
|
* 视频数组
|
*/
|
@ApiModelProperty(value = "视频数组")
|
@TableField(value = "\"video_urls\"", fill = FieldFill.UPDATE, typeHandler = FastjsonTypeHandler.class)
|
private Object[] videoUrls;
|
|
/**
|
* 经度
|
*/
|
@ApiModelProperty(value = "经度")
|
@TableField(value = "\"lon\"", fill = FieldFill.UPDATE)
|
private String lon;
|
|
/**
|
* 纬度
|
*/
|
@ApiModelProperty(value = "纬度")
|
@TableField(value = "\"lat\"", fill = FieldFill.UPDATE)
|
private String lat;
|
|
/**
|
* 填报状态(0:填写中,1:审核中,2:审核通过)
|
*/
|
@ApiModelProperty(value = "填报状态(0:填写中,1:审核中,2:审核通过) ")
|
@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\"", fill = FieldFill.UPDATE)
|
private String createUser;
|
|
}
|