package com.dsh.guns.modular.system.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 com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
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
|
*/
|
@TableField("companyId")
|
private Integer companyId;
|
/**
|
* 推单距离(公里)
|
*/
|
@TableField("pushType")
|
private Integer pushType;
|
/**
|
* 推单时间(秒)
|
*/
|
@TableField("content")
|
private String content;
|
|
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 Integer getPushType() {
|
return pushType;
|
}
|
|
public void setPushType(Integer pushType) {
|
this.pushType = pushType;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
/**
|
* 推单占所有司机百分比
|
*/
|
// @TableField("driverProportion")
|
// private Double driverProportion;
|
// /**
|
// * 1=第一轮,2=第二轮,3=第三轮
|
// */
|
// @TableField("type")
|
// private Integer type;
|
// /**
|
// * 1=专车
|
// */
|
// @TableField("pushType")
|
// private Integer pushType;
|
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|