From 9c1840e4302d8c4f7af549e5de412488073490bf Mon Sep 17 00:00:00 2001 From: zhangzeli <123456> Date: 星期二, 11 一月 2022 11:23:05 +0800 Subject: [PATCH] bug --- xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/Car.java | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 52 insertions(+), 1 deletions(-) diff --git a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/Car.java b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/Car.java index f8ecb16..b910ff1 100644 --- a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/Car.java +++ b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/Car.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; /** @@ -28,11 +30,14 @@ private static final long serialVersionUID = 1L; + @ApiModelProperty(value = "杞﹁締缂栧彿") + private String code; + @ApiModelProperty(value = "鍝佺墝") private String brand; @ApiModelProperty(value = "鍨嬪彿") - private int model; + private String model; @ApiModelProperty(value = "鎺掗噺") private String displacement; @@ -48,6 +53,9 @@ @ApiModelProperty(value = "0:姝e父 1:绉婚櫎") private int status; + @ApiModelProperty(value = "鍔犳补鍗″彿") + private String addOilCode; + @ApiModelProperty(value = "绉婚櫎鍘熷洜锛堟姤搴熴�佷簩鎵嬭溅閿�鍞級") private String removeReason; @@ -57,4 +65,47 @@ @ApiModelProperty(value = "褰撳墠璺熻溅浜篿d") private String followUserId; + @ApiModelProperty(value = "缁忓害") + private String lng; + + @ApiModelProperty(value = "绾害") + private String lat; + + @Transient + @TableField(exist = false) + private String nickName; + + @Transient + @TableField(exist = false) + private String followNickName; + + @Transient + @TableField(exist = false) + private String areaName; + + @Transient + @TableField(exist = false) + private double mileage; + + @Transient + @TableField(exist = false) + private double money; + + @Transient + @TableField(exist = false) + private double amount; + + @Transient + @TableField(exist = false) + private double allMileage; + + @Transient + @TableField(exist = false) + private double allMoney; + + @Transient + @TableField(exist = false) + private double allAmount; + + } \ No newline at end of file -- Gitblit v1.9.1