package com.stylefeng.guns.modular.shunfeng.model; import java.io.Serializable; import com.baomidou.mybatisplus.enums.IdType; import java.util.Date; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; /** *

* 顺风车司机行程 *

* * @author wumeng123 * @since 2020-04-26 */ @TableName("app_order_travel") public class OrderTravel extends Model { private static final long serialVersionUID = 1L; /** * ID */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 添加时间 */ private Date addTime; /** * 司机id */ private Integer driverId; /** * 出发时间 */ private Date startTime; /** * 发布人数 */ private Integer num; /** * 出发地 */ private String startName; /** * 目的地 */ private String endName; /** * 金额(暂不用) */ private Double money; /** * 状态(3待出行,4出行中,5完成,6取消) */ private Integer state; /** * 出发地经度 */ private Double startLon; /** * 出发地纬度 */ private Double startLat; /** * 目的地经度 */ private Double endLon; /** * 目的地纬度 */ private Double endLat; /** * 取消服务费 */ private Double serviceMoney; /** * 是否投诉(1未投诉,2已投诉) */ private Integer isComplaint; /** * 订单编号 */ private String orderNum; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Date getAddTime() { return addTime; } public void setAddTime(Date addTime) { this.addTime = addTime; } public Integer getDriverId() { return driverId; } public void setDriverId(Integer driverId) { this.driverId = driverId; } public Date getStartTime() { return startTime; } public void setStartTime(Date startTime) { this.startTime = startTime; } public Integer getNum() { return num; } public void setNum(Integer num) { this.num = num; } public String getStartName() { return startName; } public void setStartName(String startName) { this.startName = startName; } public String getEndName() { return endName; } public void setEndName(String endName) { this.endName = endName; } public Double getMoney() { return money; } public void setMoney(Double money) { this.money = money; } public Integer getState() { return state; } public void setState(Integer state) { this.state = state; } public Double getStartLon() { return startLon; } public void setStartLon(Double startLon) { this.startLon = startLon; } public Double getStartLat() { return startLat; } public void setStartLat(Double startLat) { this.startLat = startLat; } public Double getEndLon() { return endLon; } public void setEndLon(Double endLon) { this.endLon = endLon; } public Double getEndLat() { return endLat; } public void setEndLat(Double endLat) { this.endLat = endLat; } public Double getServiceMoney() { return serviceMoney; } public void setServiceMoney(Double serviceMoney) { this.serviceMoney = serviceMoney; } public Integer getIsComplaint() { return isComplaint; } public void setIsComplaint(Integer isComplaint) { this.isComplaint = isComplaint; } public String getOrderNum() { return orderNum; } public void setOrderNum(String orderNum) { this.orderNum = orderNum; } @Override protected Serializable pkVal() { return this.id; } @Override public String toString() { return "OrderTravel{" + "id=" + id + ", addTime=" + addTime + ", driverId=" + driverId + ", startTime=" + startTime + ", num=" + num + ", startName=" + startName + ", endName=" + endName + ", money=" + money + ", state=" + state + ", startLon=" + startLon + ", startLat=" + startLat + ", endLon=" + endLon + ", endLat=" + endLat + "}"; } }