package com.dsh.course.feignClient.driver.model;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
/**
|
* 司机可经营的业务类型
|
*/
|
@Data
|
@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=专车,4=小件物流-同城)
|
Business types: (1=private car, 4=courier-same city)
|
*/
|
@TableField("type")
|
private Integer type;
|
}
|