From 57a7c48cc4c81f7e9719c414e4abae942c93a21b Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期三, 26 七月 2023 15:13:37 +0800 Subject: [PATCH] 后台代码 --- cloud-server-management/src/main/java/com/dsh/course/entity/Car.java | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 110 insertions(+), 0 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/course/entity/Car.java b/cloud-server-management/src/main/java/com/dsh/course/entity/Car.java new file mode 100644 index 0000000..cb862a7 --- /dev/null +++ b/cloud-server-management/src/main/java/com/dsh/course/entity/Car.java @@ -0,0 +1,110 @@ +package com.dsh.course.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.util.Date; + +/** + * 车辆 + */ +@Data +@TableName("t_car") +public class Car { + /** + * 主键 + */ + @TableId(value = "id", type = IdType.AUTO) + @TableField("id") + private Integer id; + /** + * 是否是平台车辆(1=是,2=否) 1:Y 2:N + */ + @TableField("isPlatCar") + private Integer isPlatCar; + /** + * 公司id + */ + @TableField("companyId") + private Integer companyId; + /** + * 加盟商id + */ + @TableField("franchiseeId") + private Integer franchiseeId; + /** + * 车辆颜色 + */ + @TableField("carColor") + private String carColor; + /** + * 车型id + */ + @TableField("carModelId") + private Integer carModelId; + /** + * 车辆品牌id + */ + @TableField("carBrandId") + private Integer carBrandId; + /** + * 车牌号 + */ + @TableField("carLicensePlate") + private String carLicensePlate; + /** + * 车辆照片 + */ + @TableField("carPhoto") + private String carPhoto; + /** + * 行驶证号 + */ + @TableField("drivingLicenseNumber") + private String drivingLicenseNumber; + /** + * 行驶证照片 + */ + @TableField("drivingLicensePhoto") + private String drivingLicensePhoto; + /** + * 年检到期时间 + */ + @TableField("annualInspectionTime") + private Date annualInspectionTime; + /** + * 保险照片 + */ + @TableField("insurancePhoto") + private String insurancePhoto; + /** + * 商业保险到期时间 + */ + @TableField("commercialInsuranceTime") + private Date commercialInsuranceTime; + /** + * 添加时间 + */ + @TableField("insertTime") + private Date insertTime; + /** + * 状态(1=正常,2=删除) + */ + @TableField("state") + private Integer state; + /** + * 添加来源(1=司机注册 2=平台添加 3=分公司添加 4=加盟商添加) + * (1=Driver Registration 2=Platform Addition 3=Branch Office Addition 4=Franchisee Addition) + */ + @TableField("addType") + private Integer addType; + /** + * 公司id + */ + @TableField("addObjectId") + private Integer addObjectId; + +} -- Gitblit v1.7.1