wuww
2025-05-01 9fb83c303143e1efa0fc397adae1f58e426bd5dc
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
package com.se.nsl.domain.po;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.netty.util.internal.StringUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
import java.sql.Timestamp;
 
@TableName("nsl.simu")
@SuppressWarnings("ALL")
@ApiModel(value = "推演模拟", description = "推演模拟")
public class Simu {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;
 
    @ApiModelProperty("名称")
    private String name;
 
    @ApiModelProperty("区域名称")
    private String areaName;
 
    @ApiModelProperty("服务名称")
    private String serviceName;
 
    @ApiModelProperty("类别:1-预测模拟,2-实时模拟,3-历史模拟")
    private Short type;
 
    @ApiModelProperty("区域类别:0-自定义,1-行政区划,2-重点区域,3-重点沟")
    private Short areaType;
 
    @ApiModelProperty("数据(JSON)")
    private String data;
 
    @ApiModelProperty("状态:0-创建仿真,1-预处理,2-分析中,10-完成,20-出错")
    private Integer status;
 
    @ApiModelProperty("结果(JSON)")
    private String result;
 
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Timestamp createTime;
 
    @ApiModelProperty("创建人")
    private Timestamp createUser;
 
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("更新时间")
    private Timestamp updateTime;
 
    @ApiModelProperty("更新人")
    private Timestamp updateUser;
 
    @ApiModelProperty("备注")
    private String bak;
 
    @ApiModelProperty("空间位置")
    @TableField(value = "st_astext(geom)", select = true)
    private String geom;
 
    public Simu() {
    }
 
    public Simu(String name, String serviceName, Short type, Short areaType, String data, Integer status, String geom) {
        this.name = name;
        this.serviceName = serviceName;
        this.type = type;
        this.areaType = areaType;
        this.data = data;
        this.status = status;
        this.geom = geom;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getAreaName() {
        return areaName;
    }
 
    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
 
    public String getServiceName() {
        return serviceName;
    }
 
    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
 
    public Short getType() {
        return type;
    }
 
    public void setType(Short type) {
        this.type = type;
    }
 
    public Short getAreaType() {
        return areaType;
    }
 
    public void setAreaType(Short areaType) {
        this.areaType = areaType;
    }
 
    public String getData() {
        return data;
    }
 
    public void setData(String data) {
        this.data = data;
    }
 
    public Integer getStatus() {
        return status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
 
    public String getResult() {
        return result;
    }
 
    public void setResult(String result) {
        this.result = result;
    }
 
    public Timestamp getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
 
    public Timestamp getCreateUser() {
        return createUser;
    }
 
    public void setCreateUser(Timestamp createUser) {
        this.createUser = createUser;
    }
 
    public Timestamp getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }
 
    public Timestamp getUpdateUser() {
        return updateUser;
    }
 
    public void setUpdateUser(Timestamp updateUser) {
        this.updateUser = updateUser;
    }
 
    public String getBak() {
        return bak;
    }
 
    public void setBak(String bak) {
        this.bak = bak;
    }
 
    public String getGeom() {
        return geom;
    }
 
    public void setGeom(String geom) {
        this.geom = geom;
    }
 
    public void setGeomText() {
        this.geom = StringUtil.isNullOrEmpty(this.geom) ? "null" : String.format("ST_GeomFromText('%s')", this.geom.trim());
    }
}