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_sys_push_order") public class PushOrder { /** * 主键 */ @TableId(value = "id", type = IdType.AUTO) @TableField("id") private Integer id; /** * 企业id */ @TableField("companyId") private Integer companyId; /** * 推单距离(公里) */ @TableField("pushDistance") private Double pushDistance; /** * 推单时间(秒) */ @TableField("pushTime") private Integer pushTime; /** * 推单占所有司机百分比 */ @TableField("driverProportion") private Double driverProportion; /** * 推单次数(1=第一轮,2=第二轮,3=第三轮) */ @TableField("type") private Integer type; /** * 推单单据类型(1=专车,2=出租车) */ @TableField("pushType") 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 public String toString() { return "PushOrder{" + "id=" + id + ", companyId=" + companyId + ", pushDistance=" + pushDistance + ", pushTime=" + pushTime + ", driverProportion=" + driverProportion + ", type=" + type + ", pushType=" + pushType + '}'; } }