package com.stylefeng.guns.modular.shunfeng.model;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 顺风车订单
|
* </p>
|
*
|
* @author stylefeng123
|
* @since 2020-05-06
|
*/
|
@TableName("app_order_ride")
|
public class AppOrderRide extends Model<AppOrderRide> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 添加时间
|
*/
|
private Date addTime;
|
/**
|
* 用户id
|
*/
|
private Integer userId;
|
/**
|
* 出发时间
|
*/
|
private Date startTime;
|
/**
|
* 同行人数
|
*/
|
private Integer num;
|
/**
|
* 出发地
|
*/
|
private String startName;
|
/**
|
* 目的地
|
*/
|
private String endName;
|
/**
|
* 联系电话
|
*/
|
private String lxPhone;
|
/**
|
* 是否代喊 1=是 2=否
|
*/
|
private Integer isDai;
|
/**
|
* 金额
|
*/
|
private Double money;
|
/**
|
* 状态(1未支付,2已支付,3待出行,4出行中,5完成,6取消)
|
*/
|
private Integer state;
|
/**
|
* 是否评价(1未评价,2已评价)
|
*/
|
private Integer isEvaluate;
|
/**
|
* 是否投诉(1未投诉,2已投诉)
|
*/
|
private Integer isComplaint;
|
/**
|
* 出发地经度
|
*/
|
private Double startLon;
|
/**
|
* 出发地纬度
|
*/
|
private Double startLat;
|
/**
|
* 目的地经度
|
*/
|
private Double endLon;
|
/**
|
* 目的地纬度
|
*/
|
private Double endLat;
|
/**
|
* 司机订单id
|
*/
|
private Integer travelId;
|
/**
|
* 1=余额 2=微信 3=支付宝
|
*/
|
private Integer payType;
|
/**
|
* 退款金额
|
*/
|
private Double tuiMoney;
|
/**
|
* 取消服务费(取消时才会有)
|
*/
|
private Double serviceMoney;
|
/**
|
* 平台抽成金额(下单的时候就需要计算)
|
*/
|
private Double platformMoney;
|
/**
|
* 司机id
|
*/
|
private Integer driverId;
|
/**
|
* 订单编号
|
*/
|
private String orderNum;
|
/**
|
* 支付时间
|
*/
|
private Date payTime;
|
/**
|
* 优惠券id
|
*/
|
private Integer couponId;
|
/**
|
* 优惠券名称
|
*/
|
private String couponName;
|
/**
|
* 优惠券金额
|
*/
|
private Double couponMoney;
|
/**
|
* 支付流水
|
*/
|
private String outNum;
|
|
|
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 getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
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 String getLxPhone() {
|
return lxPhone;
|
}
|
|
public void setLxPhone(String lxPhone) {
|
this.lxPhone = lxPhone;
|
}
|
|
public Integer getIsDai() {
|
return isDai;
|
}
|
|
public void setIsDai(Integer isDai) {
|
this.isDai = isDai;
|
}
|
|
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 Integer getIsEvaluate() {
|
return isEvaluate;
|
}
|
|
public void setIsEvaluate(Integer isEvaluate) {
|
this.isEvaluate = isEvaluate;
|
}
|
|
public Integer getIsComplaint() {
|
return isComplaint;
|
}
|
|
public void setIsComplaint(Integer isComplaint) {
|
this.isComplaint = isComplaint;
|
}
|
|
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 Integer getTravelId() {
|
return travelId;
|
}
|
|
public void setTravelId(Integer travelId) {
|
this.travelId = travelId;
|
}
|
|
public Integer getPayType() {
|
return payType;
|
}
|
|
public void setPayType(Integer payType) {
|
this.payType = payType;
|
}
|
|
public Double getTuiMoney() {
|
return tuiMoney;
|
}
|
|
public void setTuiMoney(Double tuiMoney) {
|
this.tuiMoney = tuiMoney;
|
}
|
|
public Double getServiceMoney() {
|
return serviceMoney;
|
}
|
|
public void setServiceMoney(Double serviceMoney) {
|
this.serviceMoney = serviceMoney;
|
}
|
|
public Double getPlatformMoney() {
|
return platformMoney;
|
}
|
|
public void setPlatformMoney(Double platformMoney) {
|
this.platformMoney = platformMoney;
|
}
|
|
public Integer getDriverId() {
|
return driverId;
|
}
|
|
public void setDriverId(Integer driverId) {
|
this.driverId = driverId;
|
}
|
|
public String getOrderNum() {
|
return orderNum;
|
}
|
|
public void setOrderNum(String orderNum) {
|
this.orderNum = orderNum;
|
}
|
|
public Date getPayTime() {
|
return payTime;
|
}
|
|
public void setPayTime(Date payTime) {
|
this.payTime = payTime;
|
}
|
|
public Integer getCouponId() {
|
return couponId;
|
}
|
|
public void setCouponId(Integer couponId) {
|
this.couponId = couponId;
|
}
|
|
public String getCouponName() {
|
return couponName;
|
}
|
|
public void setCouponName(String couponName) {
|
this.couponName = couponName;
|
}
|
|
public Double getCouponMoney() {
|
return couponMoney;
|
}
|
|
public void setCouponMoney(Double couponMoney) {
|
this.couponMoney = couponMoney;
|
}
|
|
public String getOutNum() {
|
return outNum;
|
}
|
|
public void setOutNum(String outNum) {
|
this.outNum = outNum;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "AppOrderRide{" +
|
"id=" + id +
|
", addTime=" + addTime +
|
", userId=" + userId +
|
", startTime=" + startTime +
|
", num=" + num +
|
", startName=" + startName +
|
", endName=" + endName +
|
", lxPhone=" + lxPhone +
|
", isDai=" + isDai +
|
", money=" + money +
|
", state=" + state +
|
", isEvaluate=" + isEvaluate +
|
", isComplaint=" + isComplaint +
|
", startLon=" + startLon +
|
", startLat=" + startLat +
|
", endLon=" + endLon +
|
", endLat=" + endLat +
|
", travelId=" + travelId +
|
", payType=" + payType +
|
", tuiMoney=" + tuiMoney +
|
", serviceMoney=" + serviceMoney +
|
", platformMoney=" + platformMoney +
|
", driverId=" + driverId +
|
", orderNum=" + orderNum +
|
", payTime=" + payTime +
|
", couponId=" + couponId +
|
", couponName=" + couponName +
|
", couponMoney=" + couponMoney +
|
", outNum=" + outNum +
|
"}";
|
}
|
}
|