package com.supersavedriving.user.modular.system.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 lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 订单
|
* </p>
|
*
|
* @author administrator
|
* @since 2025-07-23
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_order_check")
|
public class TOrderCheck extends Model<TOrderCheck> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
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 Integer 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;
|
|
|
private Integer checkStatus;
|
|
private String checkIntro;
|
|
private String checkImg;
|
|
private Integer reInspection;
|
|
private Integer commentRate;
|
|
private String commentStr;
|
|
private Date commentTime;
|
|
private String provinceCode;
|
|
private String cityCode;
|
|
private String areaCode;
|
|
private Integer carType;
|
|
private BigDecimal companyMoney;
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|