无关风月
2025-04-10 424533e2e08a94554e3cd9f434142036c343e705
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
package com.ruoyi.chargingPile.api.model;
 
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 com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.core.web.domain.BasePojo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * @author zhibing.pu
 * @Date 2024/8/7 19:31
 */
@Data
@TableName("t_site")
public class Site extends BasePojo {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "站点id")
    private Integer id;
    /**
     * 合作商id
     */
    @TableField("partner_id")
    @ApiModelProperty(value = "合作商id", required = true)
    private Integer partnerId;
    /**
     * 站点编号
     */
    @TableField("code")
    @ApiModelProperty(value = "站点编号", required = true)
    private String code;
    /**
     * 站点名称
     */
    @TableField("name")
    @ApiModelProperty(value = "站点名称", required = true)
    private String name;
    /**
     * 站点类型(0=其他,1=公共,2=个人,3=公交(专业),4=环卫(专用),5=物流(专用),6=出租车(专用))
     */
    @TableField("site_type")
    @ApiModelProperty(value = "站点类型(0=其他,1=公共,2=个人,3=公交(专业),4=环卫(专用),5=物流(专用),6=出租车(专用),7=分时租赁(专用),8=小区共享(专用),9=单位(专用),10=私人共享桩(专用))", required = true)
    private Integer siteType;
    /**
     * 经营类型(1=直营,2=非直营)
     */
    @TableField("business_category")
    @ApiModelProperty(value = "经营类型(1=直营,2=非直营)", required = true)
    private Integer businessCategory;
    /**
     * 站点状态(1=正常使用,2=维修中,3=关闭下线)
     */
    @TableField("status")
    @ApiModelProperty(value = "站点状态(1=正常使用,2=维修中,3=关闭下线)", required = true)
    private Integer status;
    /**
     * 建设场所(0=其他,1=居民区,2=公共机构,3=企事业单位,4=写字楼,5=工业园区,6=交通枢纽,7=大型文体设施,8=城市绿地,9=大型建筑配建停车场,10=路边停车位,11=城际高速服务区)
     */
    @TableField("construction_site")
    @ApiModelProperty(value = "建设场所(0=其他,1=居民区,2=公共机构,3=企事业单位,4=写字楼,5=工业园区,6=交通枢纽,7=大型文体设施,8=城市绿地,9=大型建筑配建停车场,10=路边停车位,11=城际高速服务区),12=风景区,13=公交场站,14=加油加气站,15=出租车", required = true)
    private Integer constructionSite;
    /**
     * 站点环境图
     */
    @TableField("img_url")
    @ApiModelProperty(value = "站点环境图", required = true)
    private String imgUrl;
    /**
     * 省名称
     */
    @TableField("province")
    @ApiModelProperty(value = "省名称", required = true)
    private String province;
    /**
     * 省区划代码
     */
    @TableField("province_code")
    @ApiModelProperty(value = "省区划代码", required = true)
    private String provinceCode;
    /**
     * 市名称
     */
    @TableField("city")
    @ApiModelProperty(value = "市名称", required = true)
    private String city;
    /**
     * 市区划代码
     */
    @TableField("city_code")
    @ApiModelProperty(value = "市区划代码", required = true)
    private String cityCode;
    /**
     * 区县名称
     */
    @TableField("districts")
    @ApiModelProperty(value = "区县名称", required = true)
    private String districts;
    /**
     * 区县区划代码
     */
    @TableField("districts_code")
    @ApiModelProperty(value = "区县区划代码", required = true)
    private String districtsCode;
    /**
     * 经度
     */
    @TableField("lon")
    @ApiModelProperty(value = "经度", required = true)
    private String lon;
    /**
     * 纬度
     */
    @TableField("lat")
    @ApiModelProperty(value = "纬度", required = true)
    private String lat;
    /**
     * 详细地址
     */
    @TableField("address")
    @ApiModelProperty(value = "详细地址", required = true)
    private String address;
    /**
     * 国家代码
     */
    @TableField("country_code")
    @ApiModelProperty(value = "国家代码")
    private String countryCode;
    /**
     * 站点电话
     */
    @TableField("phone")
    @ApiModelProperty(value = "站点电话", required = true)
    private String phone;
    /**
     * 服务电话
     */
    @TableField("service_phone")
    @ApiModelProperty(value = "服务电话", required = true)
    private String servicePhone;
    /**
     * 站点引导
     */
    @TableField("guide")
    @ApiModelProperty(value = "站点引导")
    private String guide;
    /**
     * 开始服务时间
     */
    @TableField("start_service_time")
    @ApiModelProperty(value = "2.0修改字段-运营时间,{\"1\":[\"09:00-17:30\",\"19:30-22:00\"],\"2\":[\"09:00-17:30\",\"19:30-22:00\"],\"3\":[\"09:00-17:30,\"19:30-2:00\"],\"4\":[\"09:00-17:30\"],5\":[\"09:00-17:30\"],\"6\":[\"09:00-17:30\"],\"7\":[\"09:00-17:30\"]}")
    private String startServiceTime;
    /**
     * 结束服务时间
     */
    @TableField("end_service_time")
    @ApiModelProperty(value = "结束服务时间")
    private String endServiceTime;
    /**
     * 站内提供服务
     */
    @TableField("service_description")
    @ApiModelProperty(value = "站内提供服务")
    private String serviceDescription;
    /**
     * 车型描述
     */
    @TableField("vehicle_description")
    @ApiModelProperty(value = "车型描述")
    private String vehicleDescription;
    /**
     * 车位数
     */
    @TableField("parking_space")
    @ApiModelProperty(value = "车位数", required = true)
    private Integer parkingSpace;
    /**
     * 充电费率描述
     */
    @TableField("rate_description")
    @ApiModelProperty(value = "充电费率描述")
    private String rateDescription;
    /**
     * 超时占位费说明
     */
    @TableField("space_charge_explain")
    @ApiModelProperty(value = "超时占位费说明")
    private String spaceChargeExplain;
    /**
     * 计费策略id
     */
    @TableField("accounting_strategy_id")
    @ApiModelProperty(value = "计费策略id")
    private Integer accountingStrategyId;
    /**
     * 建站时间
     */
    @TableField("establishment_time")
    @ApiModelProperty(value = "建站时间", notes = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime establishmentTime;
    /**
     * 排序
     */
    @TableField("sort")
    @ApiModelProperty(value = "排序", required = true)
    private Integer sort;
    /**
     * 备注
     */
    @TableField("remark")
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 评分
     */
    @TableField("mark")
    private Integer mark;
    /**
     * 充换电站所在县以下行政区划代码
     */
    @TableField("area_code_countryside")
    @ApiModelProperty(value = "2.0修改字段-充换电站所在县以下行政区划代码")
    private String areaCodeCountryside;
    /**
     * 站点分类
     */
    @TableField("station_classification")
    @ApiModelProperty(value = "2.0修改字段-站点分类1=充电站 2=换电站 3=充换电一体站")
    private Integer stationClassification;
    /**
     * 通用类型
     */
    @TableField("general_application_type")
    @ApiModelProperty(value = "2.0修改字段-1:通用类型(可为3种及3种以上的换电车型进行换电的换电站)2:非通用 注:站点分类为2或3时,此字段为必填项;站点分类为1时,此字段为非必填项")
    private Integer generalApplicationType;
    /**
     * 服务车型描述
     */
    @TableField("swap_match_cars")
    @ApiModelProperty(value = "2.0修改字段-描述换电站可服务的车系车型(厂牌型号)。注:站点分类为2或3时,此字段为必填项;站点分类为1时,此字段为非必填项逗号拼接")
    private String swapMatchCars;
    /**
     * 7*24小时营业
     */
    @TableField("round_the_clock")
    @ApiModelProperty(value = "2.0修改字段-7*24小时营业,0:否 1:是")
    private Integer roundTheClock;
    /**
     * 停车费类型
     */
    @TableField("park_type")
    @ApiModelProperty(value = "2.0修改字段-停车费类型,0=免费 1=不免费 2=限时免费停车 3=充电限时减免 4=参考场地实际收费标准")
    private Integer parkType;
    /**
     * 停车费描述 示例
     * {"rules": {
     * "00:00:00-
     * 00:30:00":"0.4901",
     * "00:30:00-
     * 06:00:00":"0.3602",
     * "06:00:00-
     * 08:30:00":"0.0000",
     * ......,
     * "23:30:00-
     * 24:00:00":"0.5603"
     * },
     * "freeDuration": 120}
     */
    @TableField("park_fee")
    @ApiModelProperty(value = "2.0修改字段-停车费描述,示例:\"00:00:00-00:30:00\":\"0.4901\",\"00:00:30-01:00:00\":\"0.1234\"")
    private String parkFee;
    /**
     * 停车费免费时长 单位分钟
     */
    @TableField("park_fee_free")
    @ApiModelProperty(value = "2.0修改字段-停车费免费时长 单位分钟")
    private Integer parkFeeFree;
    /**
     * 报装类型
     */
    @TableField("business_expand_type")
    @ApiModelProperty(value = "2.0修改字段-报装类型,是否独立报装:0:否1:是")
    private Integer businessExpandType;
 
    /**
     * 电费类型
     */
    @TableField("electricity_type")
    @ApiModelProperty(value = "2.0修改字段-电费类型,1:商业用电2:普通工业用电3:大工业用电0:其他用电")
    private Integer electricityType;
    /**
     * 报装电源容量
     */
    @TableField("capacity")
    @ApiModelProperty(value = "2.0修改字段-报装电源容量:若是独立报装站点,填写“报装电源容量”")
    private BigDecimal capacity;
    /**
     * 站点额定总
     * 功率
     */
    @TableField("rated_power")
    @ApiModelProperty(value = "2.0修改字段-站点额定总功率")
    private BigDecimal ratedPower;
    /**
     *峰谷分时
     */
    @TableField("period_fee")
    @ApiModelProperty(value = "2.0修改字段-峰谷分时 0否1是")
    private Integer periodFee;
    /**
     *正式投运时间
     */
    @TableField("official_runTime")
    @ApiModelProperty(value = "2.0修改字段-正式投运时间 格式yyyy-MM-dd")
    private String officialRunTime;
    /**
     *充换电站方位
     */
    @TableField("station_orientation")
    @ApiModelProperty(value = "2.0修改字段-充换电站方位 1:地面-停车场2:地面-路侧3:地下停车4:立体式停车楼")
    private Integer stationOrientation;
    /**
     *充换电站建设面积
     */
    @TableField("station_area")
    @ApiModelProperty(value = "2.0修改字段-充换电站建设面积 充换电站建设面积")
    private BigDecimal stationArea;
    /**
     *充换电站人
     * 工值守
     */
    @TableField("have_person")
    @ApiModelProperty(value = "2.0修改字段-充换电站人工值守 0:无1:有")
    private Integer havePerson;
    /**
     视频监控配
     套情况
     */
    @TableField("video_monitor")
    @ApiModelProperty(value = "2.0修改字段-视频监控配套情况 0:无1:有")
    private Integer videoMonitor;
    /**
     周边配套设施
     */
    @TableField("supporting_facilities")
    @ApiModelProperty(value = "2.0修改字段-周边配套设施 1:卫生间2:便利店3:餐厅4:休息室5:雨棚,多个逗号拼接")
    private String supportingFacilities;
    /**
     是否有小票机
     */
    @TableField("printer_flag")
    @ApiModelProperty(value = "2.0修改字段-是否有小票机 0:无1:有")
    private Integer printerFlag;
    /**
     是否有道闸
     */
    @TableField("barrier_flag")
    @ApiModelProperty(value = "2.0修改字段-是否有道闸0:无1:有")
    private Integer barrierFlag;
    /**
     是否有地锁
     */
    @TableField("parking_lock_flag")
    @ApiModelProperty(value = "2.0修改字段-是否有地锁0:1:有")
    private Integer parkingLockFlag;
    // todo 换电设备信息
    //SwapEquipmentInfos
    //换电设备信息对象数组,参照
    //公共对象:换电设备信息
    //站点分
    //类为2
    //或3时
    //必填
    //SupSwa
    //pEquip
    //mentIn
    //fo数组
    /**
     * 充电电费描
     * 述
     */
    @TableField("electricity_fee")
    @ApiModelProperty(value = "2.0修改字段-充电电费描述,示例:\"00:00:00-00:30:00\":\"0.4901\",\"00:00:30-01:00:00\":\"0.1234\"")
    private String electricityFee;
    /**
     * 设备所属方名称
     */
    @TableField("equipment_owner_name")
    @ApiModelProperty(value = "2.0修改字段-设备运营商全称")
    private String equipmentOwnerName;
    /**
     * 供电类型
     */
    @TableField("supply_type")
    @ApiModelProperty(value = "2.0修改字段-供电类型,1:直供电2:转供电")
    private Integer supplyType;
    /**
     * 供电局用户编号
     */
    @TableField("resident_no")
    @ApiModelProperty(value = "2.0修改字段-供电局用户编号,直供电必填")
    private String residentNo;
    /**
     * 表号
     */
    @TableField("watt_hour_meter_no")
    @ApiModelProperty(value = "2.0修改字段-表号")
    private String wattHourMeterNo;
    /**
     * 外电功率
     */
    @TableField("forward_power")
    @ApiModelProperty(value = "2.0修改字段-外电功率")
    private BigDecimal forwardPower;
    /**
     * 服务费描述
     */
    @TableField("service_fee")
    @ApiModelProperty(value = "2.0修改字段-服务费描述,示例:\"00:00:00-00:30:00\":\"0.4901\",\"00:00:30-01:00:00\":\"0.1234\"")
    private String serviceFee;
    /**
     * 充电站全省唯一备案号
     */
    @TableField("record_unique_no")
    @ApiModelProperty(value = "2.0修改字段-充电站全省唯一备案号")
    private String recordUniqueNo;
 
    /**
     * 支付方式
     */
    @TableField("payment")
    @ApiModelProperty(value = "2.0修改字段-支付方式 1刷卡 2线上 3现金")
    private Integer payment;
    /**
     * 是否支持预约
     */
    @TableField("supportOrder")
    @ApiModelProperty(value = "2.0修改字段-是否支持预约 0不支持1支持")
    private Integer supportOrder;
//    /**
//     * 换电设备信息
//     */
//    @TableField("swap_equipment_infos")
//    @ApiModelProperty(value = "2.0修改字段-换电设备信息 站点分类为2或3时必填 示例:" +
//            "[{" +
//            "\"SwapMechanicalEquipmentID\": \"A564778B\"," +
//            "\"MechanicalEquipmentPower\": 128.0000" +
//            "}," +
//            "{" +
//            "\"SwapMechanicalEquipmentID\": \"A564778C\"," +
//            "\"MechanicalEquipmentPower\": 150.0000" +
//            "}" +
//            "]")
//    private String swapEquipmentInfos;
 
}