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_server_carmodel")
|
public class ServerCarModel {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 业务类型(1=专车)1 = Special vehicle
|
*/
|
@TableField("type")
|
private Integer type;
|
/**
|
* 车型名称
|
*/
|
@TableField("name")
|
private String name;
|
/**
|
* 车型照片
|
*/
|
@TableField("img")
|
private String img;
|
/**
|
* 包车价格(100-300)
|
*/
|
@TableField("price")
|
private String price;
|
/**
|
* 状态(1=正常,2=冻结,3=删除) 1:normal 2:freeze 3:delete
|
*/
|
@TableField("state")
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
@TableField("insertTime")
|
private Date insertTime;
|
}
|