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;
|
|
/**
|
* 司机可经营的业务类型
|
*/
|
@TableName("t_driver_service")
|
public class DriverService {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 司机id
|
*/
|
@TableField("driverId")
|
private Integer driverId;
|
/**
|
* 业务类型(1=专车/快车,2=出租车,3=机场专线,7=景区直通车,8=公务出行)
|
*/
|
@TableField("type")
|
private Integer type;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getDriverId() {
|
return driverId;
|
}
|
|
public void setDriverId(Integer driverId) {
|
this.driverId = driverId;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
@Override
|
public String toString() {
|
return "DriverService{" +
|
"id=" + id +
|
", driverId=" + driverId +
|
", type=" + type +
|
'}';
|
}
|
}
|