package com.taoke.autopay.entity.js2;
|
|
import lombok.Builder;
|
import lombok.Data;
|
import lombok.experimental.Tolerate;
|
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: OrderTask
|
* @description: 下单任务实体类
|
* @date 2025/7/28
|
*/
|
@Data
|
@Builder
|
@Table("table_order_task")
|
public class OrderTask {
|
/**
|
* 状态常量定义
|
*/
|
/** 未分配 */
|
public static final int STATUS_UNASSIGNED = 0;
|
/** 分配中 */
|
public static final int STATUS_ASSIGNING = 1;
|
/** 已分配 */
|
public static final int STATUS_ASSIGNED = 2;
|
|
@Tolerate
|
public OrderTask(){
|
|
}
|
|
/**
|
* 主键ID(自增)
|
*/
|
@Id
|
@Column(name = "id")
|
private Long id;
|
|
/**
|
* 口令内容
|
*/
|
@Column(name = "keyword_content")
|
private String keywordContent;
|
|
/**
|
* 口令md5
|
*/
|
@Column(name = "keyword_md5")
|
private String keywordMd5;
|
|
/**
|
* 商品来源
|
*/
|
@Column(name = "product_source")
|
private Integer productSource;
|
|
/**
|
* 商品名称
|
*/
|
@Column(name = "product_name")
|
private String productName;
|
|
/**
|
* 店铺名称
|
*/
|
@Column(name = "shop_name")
|
private String shopName;
|
|
/**
|
* 任务所需下单数量
|
*/
|
@Column(name = "required_order_count")
|
private Integer requiredOrderCount;
|
|
/**
|
* 已经下单数量
|
*/
|
@Column(name = "completed_order_count")
|
private Integer completedOrderCount;
|
|
/**
|
* 已经确认收货的数量
|
*/
|
@Column(name = "received_order_count")
|
private Integer receivedOrderCount;
|
|
/**
|
* 已经评价的数量
|
*/
|
@Column(name = "reviewed_order_count")
|
private Integer reviewedOrderCount;
|
|
/**
|
* 确认收货周期(小时)
|
*/
|
@Column(name = "receive_cycle_hours")
|
private Integer receiveCycleHours;
|
|
/**
|
* 下单开始时间
|
*/
|
@Column(name = "order_start_time")
|
private Date orderStartTime;
|
|
/**
|
* 下单结束时间
|
*/
|
@Column(name = "order_end_time")
|
private Date orderEndTime;
|
|
/**
|
* 创建时间
|
*/
|
@Column(name = "create_time")
|
private Date createTime;
|
|
/**
|
* 更新时间
|
*/
|
@Column(name = "update_time")
|
private Date updateTime;
|
|
/**
|
* 预估确认收货时间
|
*/
|
@Column(name = "estimated_receive_time")
|
private Date estimatedReceiveTime;
|
|
/**
|
* 状态(int型)
|
*/
|
@Column(name = "status")
|
private Integer status;
|
|
/**
|
* 状态简介
|
*/
|
@Column(name = "status_description")
|
private String statusDescription;
|
}
|