From 76e9e8e05cbe7dafeba51a235386f20ebf986e25 Mon Sep 17 00:00:00 2001 From: wang-hao-jie <1550036656@qq.com> Date: 星期一, 27 十二月 2021 11:54:35 +0800 Subject: [PATCH] 违章记录 --- xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/Car.java | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 111 insertions(+), 0 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 new file mode 100644 index 0000000..1062720 --- /dev/null +++ b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/Car.java @@ -0,0 +1,111 @@ +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; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import org.hibernate.annotations.DynamicInsert; +import org.hibernate.annotations.DynamicUpdate; +import org.springframework.format.annotation.DateTimeFormat; + +import javax.persistence.Entity; +import javax.persistence.Table; +import javax.persistence.Transient; +import java.util.Date; + +/** + * @author Exrick + */ +@Data +@Entity +@DynamicInsert +@DynamicUpdate +@Table(name = "t_car") +@TableName("t_car") +@ApiModel(value = "杞﹁締琛�") +public class Car extends XbootBaseEntity { + + private static final long serialVersionUID = 1L; + + @ApiModelProperty(value = "杞﹁締缂栧彿") + private String code; + + @ApiModelProperty(value = "鍝佺墝") + private String brand; + + @ApiModelProperty(value = "鍨嬪彿") + private String model; + + @ApiModelProperty(value = "鎺掗噺") + private String displacement; + + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @ApiModelProperty(value = "璐疆骞翠唤") + private Date buyYear; + + @ApiModelProperty(value = "鐗岀収") + private String carNo; + + @ApiModelProperty(value = "0:姝e父 1:绉婚櫎") + private int status; + + @ApiModelProperty(value = "鍔犳补鍗″彿") + private int addOilCode; + + @ApiModelProperty(value = "绉婚櫎鍘熷洜锛堟姤搴熴�佷簩鎵嬭溅閿�鍞級") + private String removeReason; + + @ApiModelProperty(value = "褰撳墠椹鹃┒浜篿d") + private String userId; + + @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