| | |
| | | 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; |
| | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "设备编号") |
| | | @ApiModelProperty(value = "设备编号", required = true) |
| | | @TableField("code") |
| | | private String code; |
| | | |
| | | @ApiModelProperty(value = "充电设备名称") |
| | | @ApiModelProperty(value = "充电设备名称", required = true) |
| | | @TableField("name") |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "桩号") |
| | | @ApiModelProperty(value = "桩号", required = true) |
| | | @TableField("number") |
| | | private Integer number; |
| | | |
| | | @ApiModelProperty(value = "设备类型(0=其他,1=直流设备,2=交流设备,3=交直流一体设备,4=无线设备)") |
| | | @ApiModelProperty(value = "设备类型(0=其他,1=直流设备,2=交流设备,3=交直流一体设备,4=无线设备 5=有序 6=V2G)", required = true) |
| | | @TableField("type") |
| | | private Integer type; |
| | | |
| | | @ApiModelProperty(value = "站点id") |
| | | @ApiModelProperty(value = "站点id", required = true) |
| | | @TableField("site_id") |
| | | private Integer siteId; |
| | | |
| | | @ApiModelProperty(value = "站点名称") |
| | | @TableField(exist = false) |
| | | private String siteName; |
| | | |
| | | @ApiModelProperty(value = "合作商id") |
| | | @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 equipmentType; |
| | | |
| | | @ApiModelProperty(value = "生产日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | @TableField("production_date") |
| | | private LocalDate productionDate; |
| | | |
| | | @ApiModelProperty(value = "额定功率") |
| | | @ApiModelProperty(value = "额定功率", required = true) |
| | | @TableField("rated_power") |
| | | private BigDecimal ratedPower; |
| | | |
| | |
| | | @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; |
| | | } |