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_assign_order")
|
public class AssignOrder {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 企业id
|
*/
|
@TableField("companyId")
|
private Integer companyId;
|
/**
|
* 指派范围(公里)
|
*/
|
@TableField("distance")
|
private Double distance;
|
/**
|
* 1=专车,2=出租车,3=小件物流
|
*/
|
@TableField("type")
|
private Integer type;
|
/**
|
* 用于计算实际行驶里程最近的人数范围
|
*/
|
@TableField("people")
|
private Integer people;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Integer companyId) {
|
this.companyId = companyId;
|
}
|
|
public Double getDistance() {
|
return distance;
|
}
|
|
public void setDistance(Double distance) {
|
this.distance = distance;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public Integer getPeople() {
|
return people;
|
}
|
|
public void setPeople(Integer people) {
|
this.people = people;
|
}
|
|
@Override
|
public String toString() {
|
return "AssignOrder{" +
|
"id=" + id +
|
", companyId=" + companyId +
|
", distance=" + distance +
|
", type=" + type +
|
", people=" + people +
|
'}';
|
}
|
}
|