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_model")
|
public class CarModel {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 名称
|
*/
|
@TableField("name")
|
private String name;
|
/**
|
* 备注
|
*/
|
@TableField("remark")
|
private String remark;
|
/**
|
* 添加时间
|
*/
|
@TableField("insertTime")
|
private Date insertTime;
|
/**
|
* 状态(1=正常,2=删除)
|
*/
|
@TableField("state")
|
private Integer state;
|
/**
|
* 座位数
|
*/
|
@TableField("seat")
|
private Integer seat;
|
/**
|
* 车辆品牌id
|
*/
|
@TableField("brandId")
|
private Integer brandId;
|
}
|