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;
|
|
/**
|
* <p>
|
* 司机经营业务
|
* </p>
|
*
|
* @author 吕雪
|
* @since 2020-06-05
|
*/
|
@TableName("t_driver_service")
|
public class TDriverService extends Model<TDriverService> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 司机id
|
*/
|
private Integer driverId;
|
/**
|
* 类型(1=专车,4=市内小件物流)
|
*/
|
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
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TDriverService{" +
|
"id=" + id +
|
", driverId=" + driverId +
|
", type=" + type +
|
"}";
|
}
|
}
|