From c9cbc0947f6fe578d1f178d73a2dd46d95bec275 Mon Sep 17 00:00:00 2001 From: wang-hao-jie <1550036656@qq.com> Date: 星期一, 07 二月 2022 08:40:22 +0800 Subject: [PATCH] 违章记录 --- xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/DrivingRecord.java | 64 +++++++++++++++++++++++++++++++ 1 files changed, 63 insertions(+), 1 deletions(-) diff --git a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/DrivingRecord.java b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/DrivingRecord.java index 17e2cc1..85ff69c 100644 --- a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/DrivingRecord.java +++ b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/DrivingRecord.java @@ -1,6 +1,7 @@ package cn.exrick.xboot.your.entity; import cn.exrick.xboot.core.base.XbootBaseEntity; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; @@ -12,6 +13,7 @@ import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; import java.util.Date; /** @@ -30,6 +32,14 @@ @ApiModelProperty(value = "杞﹁締id") private String carId; + + @ApiModelProperty(value = "鐢ㄦ埛id") + private String userId; + + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @ApiModelProperty(value = "琛岃溅鏃ユ湡") + private Date drivingDate; @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @@ -50,6 +60,58 @@ private String trajectory; @ApiModelProperty(value = "琛岄┒閲岀▼") - private int mileage; + private Integer mileage=0; + @ApiModelProperty(value = "璁㈠崟鏍稿 0锛氭湭鏍稿 1锛氬凡鏍稿") + private Integer OrderStatus=0; + + @ApiModelProperty(value = "涓夎瘉 0:姝e父 1锛氬紓甯�") + private Integer sanZheng=0; + + @ApiModelProperty(value = "涓夐噺 0:姝e父 1锛氬紓甯�") + private Integer sanLiang=0; + + @ApiModelProperty(value = "鍥涚伅 0:姝e父 1锛氬紓甯�") + private Integer siDeng=0; + + @ApiModelProperty(value = "鍠囧彮 0:姝e父 1锛氬紓甯�") + private Integer laBa=0; + + @ApiModelProperty(value = "鍚庤闀� 0:姝e父 1锛氬紓甯�") + private Integer houShiJing=0; + + @ApiModelProperty(value = "闆ㄥ埛鍣� 0:姝e父 1锛氬紓甯�") + private Integer yuShuaQi=0; + + @ApiModelProperty(value = "杞儙 0:姝e父 1锛氬紓甯�") + private Integer lunTai=0; + + @ApiModelProperty(value = "浠〃 0:姝e父 1锛氬紓甯�") + private Integer yiBiao=0; + + @ApiModelProperty(value = "鍒跺姩 0:姝e父 1锛氬紓甯�") + private Integer zhiDong=0; + + @ApiModelProperty(value = "瀹夊叏璁炬柦 0:姝e父 1锛氬紓甯�") + private Integer anQuan=0; + + @ApiModelProperty(value = "鍏跺畠 0:姝e父 1锛氬紓甯�") + private Integer qiTa=0; + + @ApiModelProperty(value = "澶勭悊鎰忚") + private String content; + + @ApiModelProperty(value = "琚禐鏁�") + private String likes; + + @ApiModelProperty(value = "鏄惁鏈夊畨鍏ㄩ殣鎮� 0:娌℃湁 1锛氭湁") + private Integer yinHuan=0; + + @Transient + @TableField(exist = false) + private double beginMileage; + + @Transient + @TableField(exist = false) + private double endMileage; } \ No newline at end of file -- Gitblit v1.9.1