Pu Zhibing
8 天以前 7a4f9541331bef779a506b38a27ed5c3373c0bec
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
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.ruoyi.common.core.web.domain.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * <p>
 * 充电桩
 * </p>
 *
 * @author xiaochen
 * @since 2024-08-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_charging_pile")
@ApiModel(value="TChargingPile对象", description="充电桩")
public class TChargingPile extends BasePojo {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    @ApiModelProperty(value = "设备编号", required = true)
    @TableField("code")
    private String code;
 
    @ApiModelProperty(value = "充电设备名称", required = true)
    @TableField("name")
    private String name;
 
    @ApiModelProperty(value = "桩号", required = true)
    @TableField("number")
    private Integer number;
 
    @ApiModelProperty(value = "设备类型(0=其他,1=直流设备,2=交流设备,3=交直流一体设备,4=无线设备 5=有序 6=V2G)", required = true)
    @TableField("type")
    private Integer type;
 
    @ApiModelProperty(value = "站点id", required = true)
    @TableField("site_id")
    private Integer siteId;
    
    @ApiModelProperty(value = "站点名称")
    @TableField(exist = false)
    private String siteName;
 
    @ApiModelProperty(value = "合作商id", required = true)
    @TableField("partner_id")
    private Integer partnerId;
    
    @ApiModelProperty(value = "合作商名称")
    @TableField(exist = false)
    private String partnerName;
 
    @ApiModelProperty(value = "生产商机构代码")
    @TableField("manufacturer_code")
    private String manufacturerCode;
 
    @ApiModelProperty(value = "生产商名称")
    @TableField("manufacturer")
    private String manufacturer;
 
    @ApiModelProperty(value = "设备型号")
    @TableField("equipment_type")
    private String equipmentType;
 
    @ApiModelProperty(value = "生产日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("production_date")
    private LocalDate productionDate;
 
    @ApiModelProperty(value = "额定功率", required = true)
    @TableField("rated_power")
    private BigDecimal ratedPower;
 
    @ApiModelProperty(value = "设备充电站编号")
    @TableField("charging_station_number")
    private String chargingStationNumber;
 
    @ApiModelProperty(value = "设备状态(1=工作中,2=离线,3=故障)")
    @TableField("status")
    private Integer status;
    
    @ApiModelProperty(value = "iotd设备id")
    @TableField("iotd_device_id")
    private String iotdDeviceId;
    @ApiModelProperty(value = "设备分类 1:车辆充电设备2:换电站内的电池箱充电设备")
    @TableField("equipment_classification")
    private Integer equipmentClassification;
    @ApiModelProperty(value = "设备唯一编码")
    @TableField("equipment_unique_number")
    private String equipmentUniqueNumber;
    @ApiModelProperty(value = "充电设备经度")
    @TableField("equipment_lng")
    private String equipmentLng;
    @ApiModelProperty(value = "充电设备纬度")
    @TableField("equipment_lat")
    private String equipmentLat;
}