package com.agentdriving.driver.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;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* 订单取消记录
|
* @author pzb
|
* @Date 2023/2/25 14:37
|
*/
|
@Data
|
@TableName("t_cancel_order")
|
public class CancelOrder {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 订单id
|
*/
|
@TableField("orderId")
|
private Long orderId;
|
/**
|
* 用户类型(1=用户,2=司机)
|
*/
|
@TableField("userType")
|
private Integer userType;
|
/**
|
* 用户id
|
*/
|
@TableField("userId")
|
private Integer userId;
|
/**
|
* 取消原因
|
*/
|
@TableField("cause")
|
private String cause;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
@TableField("status")
|
private Integer status;
|
/**
|
* 添加时间
|
*/
|
@TableField("createTime")
|
private Date createTime;
|
}
|