package com.taoke.autopay.entity.js2;
|
|
import lombok.Builder;
|
import lombok.Data;
|
import org.springframework.data.annotation.Id;
|
import org.yeshi.utils.generater.mybatis.Column;
|
import org.yeshi.utils.generater.mybatis.Table;
|
|
import java.util.Date;
|
|
/**
|
* @author
|
* @title: OrderTaskExecutionDetail
|
* @description: 下单任务执行详情实体类
|
* @date 2025/7/28
|
*/
|
@Data
|
@Builder
|
@Table("table_order_task_execution_detail")
|
public class OrderTaskExecutionDetail {
|
/**
|
* 执行状态常量定义
|
*/
|
/** 未下单 */
|
public static final int STATUS_NOT_ORDERED = 0;
|
/** 已下单 */
|
public static final int STATUS_ORDERED = 1;
|
/** 下单失败 */
|
public static final int STATUS_ORDER_FAILED = -1;
|
/** 确认收货成功 */
|
public static final int STATUS_RECEIVE_SUCCESS = 2;
|
/** 确认收货失败 */
|
public static final int STATUS_RECEIVE_FAILED = -2;
|
/** 评价成功 */
|
public static final int STATUS_REVIEW_SUCCESS = 3;
|
/** 评价失败 */
|
public static final int STATUS_REVIEW_FAILED = -3;
|
|
/**
|
* 主键(任务ID+设备ID)
|
*/
|
@Id
|
@Column(name = "id")
|
private String id;
|
|
/**
|
* 任务ID
|
*/
|
@Column(name = "task_id")
|
private Long taskId;
|
|
/**
|
* 客户端ID
|
*/
|
@Column(name = "client_id")
|
private Long clientId;
|
|
/**
|
* 执行状态(int类型)
|
*/
|
@Column(name = "execution_status")
|
private Integer executionStatus;
|
|
/**
|
* 执行状态说明
|
*/
|
@Column(name = "status_description")
|
private String statusDescription;
|
|
|
|
/**
|
* 订单号
|
*/
|
@Column(name = "order_no")
|
private String orderNo;
|
|
/**
|
* 商品名称
|
*/
|
@Column(name = "product_name")
|
private String productName;
|
|
/**
|
* 店铺名称
|
*/
|
@Column(name = "shop_name")
|
private String shopName;
|
|
/**
|
* 券码
|
*/
|
@Column(name = "coupon_code")
|
private String couponCode;
|
|
/**
|
* 下单时间
|
*/
|
@Column(name = "order_time")
|
private Date orderTime;
|
|
/**
|
* 收货时间
|
*/
|
@Column(name = "receive_time")
|
private Date receiveTime;
|
|
/**
|
* 评价时间
|
*/
|
@Column(name = "review_time")
|
private Date reviewTime;
|
|
/**
|
* 预计评价时间
|
*/
|
@Column(name = "expected_review_time")
|
private Date expectedReviewTime;
|
|
/**
|
* 创建时间
|
*/
|
@Column(name = "create_time")
|
private Date createTime;
|
|
/**
|
* 更新时间
|
*/
|
@Column(name = "update_time")
|
private Date updateTime;
|
}
|