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_driver_service") public class TDriverService extends Model { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 司机id */ private Integer driverId; /** * 类型(1=快车,2=出租车,3=城际,4=小件物流-同城,5=小件物流-跨城,6=包车) */ 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 + "}"; } }