package com.stylefeng.guns.modular.system.model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; import java.util.Date; /** * 服务车型设置 */ @TableName("t_server_carmodel") public class ServerCarModel { /** * 主键 */ @TableId(value = "id", type = IdType.AUTO) @TableField("id") private Integer id; /** * 业务类型(1=专车,2=城际,3=公务用车) */ @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=删除) */ @TableField("state") private Integer state; /** * 添加时间 */ @TableField("insertTime") private Date insertTime; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getImg() { return img; } public void setImg(String img) { this.img = img; } public Integer getState() { return state; } public void setState(Integer state) { this.state = state; } public Date getInsertTime() { return insertTime; } public void setInsertTime(Date insertTime) { this.insertTime = insertTime; } public String getPrice() { return price; } public void setPrice(String price) { this.price = price; } @Override public String toString() { return "ServerCarModel{" + "id=" + id + ", type=" + type + ", name='" + name + '\'' + ", img='" + img + '\'' + ", price='" + price + '\'' + ", state=" + state + ", insertTime=" + insertTime + '}'; } }