| package com.doumee.dao.business.model; | 
|   | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| import com.doumee.core.annotation.excel.ExcelColumn; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import com.baomidou.mybatisplus.annotation.IdType; | 
| import com.baomidou.mybatisplus.annotation.TableId; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import lombok.Data; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
|   | 
| import java.math.BigDecimal; | 
| import java.util.Date; | 
|   | 
| /** | 
|  * 自行车信息表 | 
|  * @author 江蹄蹄 | 
|  * @date 2023/09/27 18:06 | 
|  */ | 
| @Data | 
| @ApiModel("自行车信息表") | 
| @TableName("\"bikes\"") | 
| public class Bikes { | 
|   | 
|     @ApiModelProperty(value = "编码") | 
|     @ExcelColumn(name="编码") | 
|     private String id; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|     @ExcelColumn(name="创建时间") | 
|     //@JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date createDate; | 
|   | 
|     @ApiModelProperty(value = "创建人") | 
|     @ExcelColumn(name="创建人") | 
|     private String creator; | 
|   | 
|     @ApiModelProperty(value = "编辑时间") | 
|     @ExcelColumn(name="编辑时间") | 
|     //@JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date editDate; | 
|     @ApiModelProperty(value = "最近低电量报警时间") | 
|     //@JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date lowVoltageAlarmTime; | 
|   | 
|     @ApiModelProperty(value = "编辑人") | 
|     @ExcelColumn(name="编辑人") | 
|     private String editor; | 
|   | 
|     @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "1") | 
|     @ExcelColumn(name="是否已删除 0未删除 1已删除") | 
|     private Integer isdeleted; | 
|   | 
|     @ApiModelProperty(value = "名称") | 
|     @ExcelColumn(name="名称") | 
|     private String name; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     @ExcelColumn(name="备注") | 
|     private String info; | 
|   | 
|     @ApiModelProperty(value = "车辆类型编码(关联base_param)") | 
|     @ExcelColumn(name="车辆类型编码(关联base_param)") | 
|     private String paramId; | 
|     @ApiModelProperty(value = "车辆类型") | 
|     @TableField(exist = false) | 
|     private String paramName; | 
|     @ApiModelProperty(value = "站点名称") | 
|     @TableField(exist = false) | 
|     private String siteName; | 
|   | 
|     @ApiModelProperty(value = "编号") | 
|     @ExcelColumn(name="编号") | 
|     private String code; | 
|   | 
|     @ApiModelProperty(value = "状态 0停车可出借 1出借中 3禁用 ", example = "1") | 
|     @ExcelColumn(name="状态 0停车可出借 1出借中 3禁用 ") | 
|     private Integer status; | 
|     @ApiModelProperty(value = "是否有车 0全部 1无车 2有车 null为全部", example = "1") | 
|     @TableField(exist = false) | 
|     private Integer hasBike; | 
|   | 
|     @ApiModelProperty(value = "当前站点编码(关联sites)") | 
|     @ExcelColumn(name="当前站点编码(关联sites)") | 
|     private String siteId; | 
|   | 
|     @ApiModelProperty(value = "当前锁头编码(关联locks)") | 
|     @ExcelColumn(name="当前锁头编码(关联locks)") | 
|     private Integer lockId; | 
|   | 
|     @ApiModelProperty(value = "最近租借时间") | 
|     @ExcelColumn(name="最近租借时间") | 
|     //@JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date lastRentDate; | 
|     @ApiModelProperty(value = "最近还车时间") | 
|     @ExcelColumn(name="最近还车时间") | 
|     //@JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date lastBackDate; | 
|   | 
|     @ApiModelProperty(value = "出售时间") | 
|     @ExcelColumn(name="") | 
|     //@JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date soldoutDate; | 
|     @ApiModelProperty(value = "车辆类型 0自行车 1电车") | 
|     @ExcelColumn(name="车辆类型 0自行车 1电车") | 
|     private Integer type; | 
|     @ApiModelProperty(value = "最近纬度") | 
|     @ExcelColumn(name="最近纬度") | 
|     private BigDecimal latitude; | 
|     @ApiModelProperty(value = "最近经度") | 
|     @ExcelColumn(name="最近经度") | 
|     private BigDecimal longitude; | 
|     @ApiModelProperty(value = "电车控制器SN码") | 
|     @ExcelColumn(name="电车控制器SN码") | 
|     private String deviceSn; | 
|     @ApiModelProperty(value = "当前电压值") | 
|     @ExcelColumn(name="当前电压值") | 
|     private BigDecimal voltage; | 
|     @ApiModelProperty(value = "最后心跳时间") | 
|     @ExcelColumn(name="最后心跳时间") | 
|     private Date heartDate; | 
|     @ApiModelProperty(value = "终端通讯地址") | 
|     @ExcelColumn(name="终端通讯地址") | 
|     private String remoteAddress; | 
|     @ApiModelProperty(value = "最近定位地址") | 
|     @ExcelColumn(name="最近定位地址") | 
|     private String location; | 
|     @ApiModelProperty(value = "是否低电量 0否 1是") | 
|     @TableField(exist = false ) | 
|     private Integer lowVoltage; | 
|     @ApiModelProperty(value = "强制还车结果备注") | 
|     @ExcelColumn(name="强制还车结果备注") | 
|     private String forceBackInfo; | 
|   | 
|     @ApiModelProperty(value = "小程序码") | 
|     private String imgurl; | 
| } |