package com.stylefeng.guns.modular.system.model;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* <p>
|
* 订单
|
* </p>
|
*
|
* @author mitao
|
* @since 2025-07-28
|
*/
|
@TableName("t_order_check")
|
public class TOrderCheck extends Model<TOrderCheck> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
private Integer id;
|
/**
|
* 编号
|
*/
|
private String code;
|
/**
|
* 车检编号
|
*/
|
private String checkCode;
|
/**
|
* 用户id
|
*/
|
private Integer userId;
|
/**
|
* 司机id
|
*/
|
private Integer driverId;
|
/**
|
* 分公司id
|
*/
|
private Integer branchOfficeId;
|
/**
|
* 接单时间
|
*/
|
private Date orderTakingTime;
|
/**
|
* 到达预约点时间
|
*/
|
private Date arrivalTimeAtTheAppointmentPoint;
|
/**
|
* 开始服务时间
|
*/
|
private Date startTime;
|
/**
|
* 车检服务结束时间
|
*/
|
private Date endTime;
|
/**
|
* 还车出发时间
|
*/
|
private Date goTime;
|
/**
|
* 还车完成时间
|
*/
|
private Date successTime;
|
/**
|
* 起点地址
|
*/
|
private String startAddress;
|
/**
|
* 起点纬度(用户定位 计算金额是否能用券)
|
*/
|
private String startLat;
|
/**
|
* 起点经度(用户定位计算金额是否能用券)
|
*/
|
private String startLng;
|
/**
|
* 终点地址
|
*/
|
private String endAddress;
|
/**
|
* 终点纬度(不用)
|
*/
|
private String endLat;
|
/**
|
* 终点经度(不用)
|
*/
|
private String endLng;
|
/**
|
* 订单金额(司机应的金额)
|
*/
|
private BigDecimal orderMoney;
|
/**
|
* 支付服务金额
|
*/
|
private BigDecimal payMoney;
|
/**
|
* 支付车检金额
|
*/
|
private BigDecimal checkMoney;
|
/**
|
* 优惠金额 车检费
|
*/
|
private BigDecimal discountedPriceCheck;
|
/**
|
* 优惠金额
|
*/
|
private BigDecimal discountedPrice;
|
/**
|
* 优惠券id 车检
|
*/
|
private String couponIdCheck;
|
/**
|
* 优惠券id
|
*/
|
private Integer couponId;
|
/**
|
* 支付类型(1=微信支付,2=余额支付,3=线下收款,4=微信+余额)
|
*/
|
private Integer payType;
|
/**
|
* 支付时间
|
*/
|
private Date payTime;
|
/**
|
* 支付车检时间
|
*/
|
private Date checkPayTime;
|
/**
|
* 第三方支付流水号
|
*/
|
private String orderNo;
|
/**
|
* 第三方支付流水号 车检
|
*/
|
private String checkOrderNo;
|
/**
|
* 订单状态(100=待派单 101=待接单,102=已接单(正在前往取车地),104=到达预约点(用户待支付车检),105=开始服务,106=车检完成,107=前往还车地,108=到达还车地(用户待支付服务费),109=已完成,110=已评价 111取消)
|
*/
|
private Integer state;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer status;
|
/**
|
* 添加时间
|
*/
|
private Date createTime;
|
/**
|
* 车检状态 1通过 2不通过
|
*/
|
private Integer checkStatus;
|
/**
|
* 车检说明
|
*/
|
private String checkIntro;
|
/**
|
* 车检图片
|
*/
|
private String checkImg;
|
/**
|
* 1 -5
|
*/
|
private Integer commentRate;
|
/**
|
* 评价
|
*/
|
private String commentStr;
|
/**
|
* 评价时间
|
*/
|
private Date commentTime;
|
/**
|
* 预约时间
|
*/
|
private Date reservationTime;
|
private String provinceCode;
|
private String cityCode;
|
private String arerCode;
|
/**
|
* 是否复检 0否 1是
|
*/
|
private Integer reInspection;
|
/**
|
* 订单来源 1:小程序,2:管理后台
|
*/
|
private Integer source;
|
/**
|
* 操作人id
|
*/
|
private Integer operatorId;
|
|
/**
|
* 操作人名称
|
*/
|
private String operatorName;
|
|
/**
|
* 派单时间
|
*/
|
private Date dispatchTime;
|
|
/**
|
* 下单用户昵称
|
*/
|
@TableField(exist = false)
|
private String userName;
|
|
/**
|
* 下单用户电话
|
*/
|
@TableField(exist = false)
|
private String userPhone;
|
|
/**
|
* 司机昵称
|
*/
|
@TableField(exist = false)
|
private String driverName;
|
|
/**
|
* 司机电话
|
*/
|
@TableField(exist = false)
|
private String driverPhone;
|
|
/**
|
* 图片凭证列表,用于前端展示
|
*/
|
@TableField(exist = false)
|
private List<String> checkImgList;
|
/**
|
* 评价图片凭证列表,用于前端展示
|
*/
|
@TableField(exist = false)
|
private List<String> commentImgList;
|
|
@TableField(exist = false)
|
private String createTimeFormat;
|
|
@TableField(exist = false)
|
private String reservationTimeFormat;
|
|
@TableField(exist = false)
|
private String dispatchTimeFormat;
|
|
@TableField(exist = false)
|
private String startTimeFormat;
|
|
@TableField(exist = false)
|
private String endTimeFormat;
|
|
@TableField(exist = false)
|
private String goTimeFormat;
|
|
@TableField(exist = false)
|
private String successTimeFormat;
|
|
@TableField(exist = false)
|
private String payTimeFormat;
|
|
@TableField(exist = false)
|
private String checkPayTimeFormat;
|
|
@TableField(exist = false)
|
private String arrivalTimeAtTheAppointmentPointFormat;
|
|
@TableField(exist = false)
|
private String orderTakingTimeFormat;
|
|
@TableField(exist = false)
|
private String commentTimeFormat;
|
|
public String getSuccessTimeFormat() {
|
return successTimeFormat;
|
}
|
|
@Override
|
public String toString() {
|
return "TOrderCheck{" +
|
"id=" + id +
|
", code='" + code + '\'' +
|
", checkCode='" + checkCode + '\'' +
|
", userId=" + userId +
|
", driverId=" + driverId +
|
", branchOfficeId=" + branchOfficeId +
|
", orderTakingTime=" + orderTakingTime +
|
", arrivalTimeAtTheAppointmentPoint=" + arrivalTimeAtTheAppointmentPoint +
|
", startTime=" + startTime +
|
", endTime=" + endTime +
|
", goTime=" + goTime +
|
", successTime=" + successTime +
|
", startAddress='" + startAddress + '\'' +
|
", startLat='" + startLat + '\'' +
|
", startLng='" + startLng + '\'' +
|
", endAddress='" + endAddress + '\'' +
|
", endLat='" + endLat + '\'' +
|
", endLng='" + endLng + '\'' +
|
", orderMoney=" + orderMoney +
|
", payMoney=" + payMoney +
|
", checkMoney=" + checkMoney +
|
", discountedPriceCheck=" + discountedPriceCheck +
|
", discountedPrice=" + discountedPrice +
|
", couponIdCheck='" + couponIdCheck + '\'' +
|
", couponId=" + couponId +
|
", payType=" + payType +
|
", payTime=" + payTime +
|
", checkPayTime=" + checkPayTime +
|
", orderNo='" + orderNo + '\'' +
|
", checkOrderNo='" + checkOrderNo + '\'' +
|
", state=" + state +
|
", status=" + status +
|
", createTime=" + createTime +
|
", checkStatus=" + checkStatus +
|
", checkIntro='" + checkIntro + '\'' +
|
", checkImg='" + checkImg + '\'' +
|
", commentRate=" + commentRate +
|
", commentStr='" + commentStr + '\'' +
|
", commentTime=" + commentTime +
|
", reservationTime=" + reservationTime +
|
", provinceCode='" + provinceCode + '\'' +
|
", cityCode='" + cityCode + '\'' +
|
", arerCode='" + arerCode + '\'' +
|
", reInspection=" + reInspection +
|
", source=" + source +
|
", operatorId=" + operatorId +
|
", operatorName='" + operatorName + '\'' +
|
", dispatchTime=" + dispatchTime +
|
", userName='" + userName + '\'' +
|
", userPhone='" + userPhone + '\'' +
|
", driverName='" + driverName + '\'' +
|
", driverPhone='" + driverPhone + '\'' +
|
", createTimeFormat='" + createTimeFormat + '\'' +
|
", reservationTimeFormat='" + reservationTimeFormat + '\'' +
|
", dispatchTimeFormat='" + dispatchTimeFormat + '\'' +
|
", startTimeFormat='" + startTimeFormat + '\'' +
|
", endTimeFormat='" + endTimeFormat + '\'' +
|
", goTimeFormat='" + goTimeFormat + '\'' +
|
", successTimeFormat='" + successTimeFormat + '\'' +
|
", payTimeFormat='" + payTimeFormat + '\'' +
|
", checkPayTimeFormat='" + checkPayTimeFormat + '\'' +
|
", arrivalTimeAtTheAppointmentPointFormat='" + arrivalTimeAtTheAppointmentPointFormat + '\'' +
|
", orderTakingTimeFormat='" + orderTakingTimeFormat + '\'' +
|
", commentTimeFormat='" + commentTimeFormat + '\'' +
|
'}';
|
}
|
|
public void setSuccessTimeFormat(String successTimeFormat) {
|
this.successTimeFormat = successTimeFormat;
|
}
|
|
public String getPayTimeFormat() {
|
return payTimeFormat;
|
}
|
|
public void setPayTimeFormat(String payTimeFormat) {
|
this.payTimeFormat = payTimeFormat;
|
}
|
|
public String getCheckPayTimeFormat() {
|
return checkPayTimeFormat;
|
}
|
|
public void setCheckPayTimeFormat(String checkPayTimeFormat) {
|
this.checkPayTimeFormat = checkPayTimeFormat;
|
}
|
|
public String getGoTimeFormat() {
|
return goTimeFormat;
|
}
|
|
public void setGoTimeFormat(String goTimeFormat) {
|
this.goTimeFormat = goTimeFormat;
|
}
|
|
public String getStartTimeFormat() {
|
return startTimeFormat;
|
}
|
|
public void setStartTimeFormat(String startTimeFormat) {
|
this.startTimeFormat = startTimeFormat;
|
}
|
|
public String getEndTimeFormat() {
|
return endTimeFormat;
|
}
|
|
public void setEndTimeFormat(String endTimeFormat) {
|
this.endTimeFormat = endTimeFormat;
|
}
|
|
public Date getDispatchTime() {
|
return dispatchTime;
|
}
|
|
public void setDispatchTime(Date dispatchTime) {
|
this.dispatchTime = dispatchTime;
|
}
|
|
public String getDispatchTimeFormat() {
|
return dispatchTimeFormat;
|
}
|
|
public void setDispatchTimeFormat(String dispatchTimeFormat) {
|
this.dispatchTimeFormat = dispatchTimeFormat;
|
}
|
|
public Integer getOperatorId() {
|
return operatorId;
|
}
|
|
public void setOperatorId(Integer operatorId) {
|
this.operatorId = operatorId;
|
}
|
|
public String getOperatorName() {
|
return operatorName;
|
}
|
|
public void setOperatorName(String operatorName) {
|
this.operatorName = operatorName;
|
}
|
|
public String getReservationTimeFormat() {
|
return reservationTimeFormat;
|
}
|
|
public void setReservationTimeFormat(String reservationTimeFormat) {
|
this.reservationTimeFormat = reservationTimeFormat;
|
}
|
|
public String getCreateTimeFormat() {
|
return createTimeFormat;
|
}
|
|
public void setCreateTimeFormat(String createTimeFormat) {
|
this.createTimeFormat = createTimeFormat;
|
}
|
|
public String getUserName() {
|
return userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
}
|
|
public String getUserPhone() {
|
return userPhone;
|
}
|
|
public void setUserPhone(String userPhone) {
|
this.userPhone = userPhone;
|
}
|
|
public String getDriverName() {
|
return driverName;
|
}
|
|
public void setDriverName(String driverName) {
|
this.driverName = driverName;
|
}
|
|
public String getDriverPhone() {
|
return driverPhone;
|
}
|
|
public void setDriverPhone(String driverPhone) {
|
this.driverPhone = driverPhone;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getCheckCode() {
|
return checkCode;
|
}
|
|
public void setCheckCode(String checkCode) {
|
this.checkCode = checkCode;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
public Integer getDriverId() {
|
return driverId;
|
}
|
|
public void setDriverId(Integer driverId) {
|
this.driverId = driverId;
|
}
|
|
public Integer getBranchOfficeId() {
|
return branchOfficeId;
|
}
|
|
public void setBranchOfficeId(Integer branchOfficeId) {
|
this.branchOfficeId = branchOfficeId;
|
}
|
|
public Date getOrderTakingTime() {
|
return orderTakingTime;
|
}
|
|
public void setOrderTakingTime(Date orderTakingTime) {
|
this.orderTakingTime = orderTakingTime;
|
}
|
|
public Date getArrivalTimeAtTheAppointmentPoint() {
|
return arrivalTimeAtTheAppointmentPoint;
|
}
|
|
public void setArrivalTimeAtTheAppointmentPoint(Date arrivalTimeAtTheAppointmentPoint) {
|
this.arrivalTimeAtTheAppointmentPoint = arrivalTimeAtTheAppointmentPoint;
|
}
|
|
public Date getStartTime() {
|
return startTime;
|
}
|
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public Date getGoTime() {
|
return goTime;
|
}
|
|
public void setGoTime(Date goTime) {
|
this.goTime = goTime;
|
}
|
|
public Date getSuccessTime() {
|
return successTime;
|
}
|
|
public void setSuccessTime(Date successTime) {
|
this.successTime = successTime;
|
}
|
|
public String getStartAddress() {
|
return startAddress;
|
}
|
|
public void setStartAddress(String startAddress) {
|
this.startAddress = startAddress;
|
}
|
|
public String getStartLat() {
|
return startLat;
|
}
|
|
public void setStartLat(String startLat) {
|
this.startLat = startLat;
|
}
|
|
public String getStartLng() {
|
return startLng;
|
}
|
|
public void setStartLng(String startLng) {
|
this.startLng = startLng;
|
}
|
|
public String getEndAddress() {
|
return endAddress;
|
}
|
|
public void setEndAddress(String endAddress) {
|
this.endAddress = endAddress;
|
}
|
|
public String getEndLat() {
|
return endLat;
|
}
|
|
public void setEndLat(String endLat) {
|
this.endLat = endLat;
|
}
|
|
public String getEndLng() {
|
return endLng;
|
}
|
|
public void setEndLng(String endLng) {
|
this.endLng = endLng;
|
}
|
|
public BigDecimal getOrderMoney() {
|
return orderMoney;
|
}
|
|
public void setOrderMoney(BigDecimal orderMoney) {
|
this.orderMoney = orderMoney;
|
}
|
|
public BigDecimal getPayMoney() {
|
return payMoney;
|
}
|
|
public void setPayMoney(BigDecimal payMoney) {
|
this.payMoney = payMoney;
|
}
|
|
public BigDecimal getCheckMoney() {
|
return checkMoney;
|
}
|
|
public void setCheckMoney(BigDecimal checkMoney) {
|
this.checkMoney = checkMoney;
|
}
|
|
public BigDecimal getDiscountedPriceCheck() {
|
return discountedPriceCheck;
|
}
|
|
public void setDiscountedPriceCheck(BigDecimal discountedPriceCheck) {
|
this.discountedPriceCheck = discountedPriceCheck;
|
}
|
|
public BigDecimal getDiscountedPrice() {
|
return discountedPrice;
|
}
|
|
public void setDiscountedPrice(BigDecimal discountedPrice) {
|
this.discountedPrice = discountedPrice;
|
}
|
|
public String getCouponIdCheck() {
|
return couponIdCheck;
|
}
|
|
public void setCouponIdCheck(String couponIdCheck) {
|
this.couponIdCheck = couponIdCheck;
|
}
|
|
public Integer getCouponId() {
|
return couponId;
|
}
|
|
public void setCouponId(Integer couponId) {
|
this.couponId = couponId;
|
}
|
|
public Integer getPayType() {
|
return payType;
|
}
|
|
public void setPayType(Integer payType) {
|
this.payType = payType;
|
}
|
|
public Date getPayTime() {
|
return payTime;
|
}
|
|
public void setPayTime(Date payTime) {
|
this.payTime = payTime;
|
}
|
|
public Date getCheckPayTime() {
|
return checkPayTime;
|
}
|
|
public void setCheckPayTime(Date checkPayTime) {
|
this.checkPayTime = checkPayTime;
|
}
|
|
public String getOrderNo() {
|
return orderNo;
|
}
|
|
public void setOrderNo(String orderNo) {
|
this.orderNo = orderNo;
|
}
|
|
public String getCheckOrderNo() {
|
return checkOrderNo;
|
}
|
|
public void setCheckOrderNo(String checkOrderNo) {
|
this.checkOrderNo = checkOrderNo;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Integer getStatus() {
|
return status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Integer getCheckStatus() {
|
return checkStatus;
|
}
|
|
public void setCheckStatus(Integer checkStatus) {
|
this.checkStatus = checkStatus;
|
}
|
|
public String getCheckIntro() {
|
return checkIntro;
|
}
|
|
public void setCheckIntro(String checkIntro) {
|
this.checkIntro = checkIntro;
|
}
|
|
public String getCheckImg() {
|
return checkImg;
|
}
|
|
public void setCheckImg(String checkImg) {
|
this.checkImg = checkImg;
|
}
|
|
public Integer getCommentRate() {
|
return commentRate;
|
}
|
|
public void setCommentRate(Integer commentRate) {
|
this.commentRate = commentRate;
|
}
|
|
public String getCommentStr() {
|
return commentStr;
|
}
|
|
public void setCommentStr(String commentStr) {
|
this.commentStr = commentStr;
|
}
|
|
public Date getCommentTime() {
|
return commentTime;
|
}
|
|
public void setCommentTime(Date commentTime) {
|
this.commentTime = commentTime;
|
}
|
|
public Date getReservationTime() {
|
return reservationTime;
|
}
|
|
public void setReservationTime(Date reservationTime) {
|
this.reservationTime = reservationTime;
|
}
|
|
public String getProvinceCode() {
|
return provinceCode;
|
}
|
|
public void setProvinceCode(String provinceCode) {
|
this.provinceCode = provinceCode;
|
}
|
|
public String getCityCode() {
|
return cityCode;
|
}
|
|
public void setCityCode(String cityCode) {
|
this.cityCode = cityCode;
|
}
|
|
public String getArerCode() {
|
return arerCode;
|
}
|
|
public void setArerCode(String arerCode) {
|
this.arerCode = arerCode;
|
}
|
|
public Integer getReInspection() {
|
return reInspection;
|
}
|
|
public void setReInspection(Integer reInspection) {
|
this.reInspection = reInspection;
|
}
|
|
public Integer getSource() {
|
return source;
|
}
|
|
public void setSource(Integer source) {
|
this.source = source;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
public String getArrivalTimeAtTheAppointmentPointFormat() {
|
return arrivalTimeAtTheAppointmentPointFormat;
|
}
|
|
public void setArrivalTimeAtTheAppointmentPointFormat(String arrivalTimeAtTheAppointmentPointFormat) {
|
this.arrivalTimeAtTheAppointmentPointFormat = arrivalTimeAtTheAppointmentPointFormat;
|
}
|
|
public String getOrderTakingTimeFormat() {
|
return orderTakingTimeFormat;
|
}
|
|
public void setOrderTakingTimeFormat(String orderTakingTimeFormat) {
|
this.orderTakingTimeFormat = orderTakingTimeFormat;
|
}
|
|
public String getCommentTimeFormat() {
|
return commentTimeFormat;
|
}
|
|
public void setCommentTimeFormat(String commentTimeFormat) {
|
this.commentTimeFormat = commentTimeFormat;
|
}
|
|
public List<String> getCheckImgList() {
|
return checkImgList;
|
}
|
|
public void setCheckImgList(List<String> checkImgList) {
|
this.checkImgList = checkImgList;
|
}
|
|
public List<String> getCommentImgList() {
|
return commentImgList;
|
}
|
}
|