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=城际,4=小件物流-同城,5=小件物流-跨城,6=公务用车) */ @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 + '}'; } }