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-09
|
*/
|
@TableName("t_sys_push_order")
|
public class TSysPushOrder extends Model<TSysPushOrder> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 企业id
|
*/
|
private Integer companyId;
|
/**
|
* 推单距离(公里)
|
*/
|
private Double pushDistance;
|
/**
|
* 推单时间(秒)
|
*/
|
private Integer pushTime;
|
/**
|
* 推单占所有司机百分比
|
*/
|
private Double driverProportion;
|
/**
|
* 1=第一轮,2=第二轮,3=第三轮
|
*/
|
private Integer type;
|
/**
|
* 1=专车,2=出租车
|
*/
|
private Integer pushType;
|
|
|
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 getPushDistance() {
|
return pushDistance;
|
}
|
|
public void setPushDistance(Double pushDistance) {
|
this.pushDistance = pushDistance;
|
}
|
|
public Integer getPushTime() {
|
return pushTime;
|
}
|
|
public void setPushTime(Integer pushTime) {
|
this.pushTime = pushTime;
|
}
|
|
public Double getDriverProportion() {
|
return driverProportion;
|
}
|
|
public void setDriverProportion(Double driverProportion) {
|
this.driverProportion = driverProportion;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public Integer getPushType() {
|
return pushType;
|
}
|
|
public void setPushType(Integer pushType) {
|
this.pushType = pushType;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TSysPushOrder{" +
|
"id=" + id +
|
", companyId=" + companyId +
|
", pushDistance=" + pushDistance +
|
", pushTime=" + pushTime +
|
", driverProportion=" + driverProportion +
|
", type=" + type +
|
", pushType=" + pushType +
|
"}";
|
}
|
}
|