guoshilong
2024-01-11 a331dacaa853a79efb78937dd49e5f6cca22ba69
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
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(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 = "\"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 = "\"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;
 
}