package com.stylefeng.guns.modular.system.model; import com.baomidou.mybatisplus.enums.IdType; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; /** *

* 车辆经营业务 *

* * @author 吕雪 * @since 2020-06-05 */ @TableName("t_car_service") public class TCarService extends Model { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 车辆id */ private Integer carId; /** * 类型(1=快车,2=出租车,3=城际(跨城出行),4=小件物流-同城,5=小件物流-跨城,6=包车) */ private Integer type; /** * 服务车型id */ private Integer serverCarModelId; public Integer getServerCarModelId() { return serverCarModelId; } public void setServerCarModelId(Integer serverCarModelId) { this.serverCarModelId = serverCarModelId; } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Integer getCarId() { return carId; } public void setCarId(Integer carId) { this.carId = carId; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } @Override protected Serializable pkVal() { return this.id; } @Override public String toString() { return "TCarService{" + "id=" + id + ", carId=" + carId + ", type=" + type + "}"; } }