package org.springblade.modules.equipage.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 com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 实体类
|
* @author zhongrj
|
* @time 2021-07-06
|
*/
|
@Data
|
@TableName("sys_car")
|
public class Car implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 招聘主键id
|
*/
|
@TableId(value = "id",type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 部门id
|
*/
|
@TableField("dept_id")
|
private Long deptId;
|
|
/**
|
* 车牌号码
|
*/
|
@TableField("car_number")
|
private String carNumber;
|
|
/**
|
* 号码种类
|
*/
|
@TableField("number_type")
|
private Integer numberType;
|
|
/**
|
* 车辆类型
|
*/
|
@TableField("car_type")
|
private Integer carType;
|
|
/**
|
* 责任人
|
*/
|
@TableField("person_in_charge")
|
private String personInCharge;
|
|
/**
|
* 厂商,品牌
|
*/
|
private String brand;
|
|
/**
|
* 出厂日期
|
*/
|
@TableField("date_for_production")
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date dateForProduction;
|
|
/**
|
* 环保标志 ,国IV
|
*/
|
private String umweltsatz;
|
|
/**
|
* 车辆型号
|
*/
|
private String mode;
|
private String jurisdiction;
|
|
/**
|
* 图片
|
*/
|
private String picture;
|
|
/**
|
* 行驶情况
|
*/
|
@TableField("driving_conditions")
|
private String drivingConditions;
|
|
}
|