package com.taoke.autopay.entity;
|
|
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.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* @author hxh
|
* @title: KeyOrder
|
* @description: TODO
|
* @date 2024/6/14 18:58
|
*/
|
@Data
|
@Table("table_order")
|
public class KeyOrder {
|
// 尚未处理
|
public final static int STATE_NOT_PROCESS = 0;
|
// 尚未支付
|
public final static int STATE_NOT_PAY = 1;
|
// 已支付
|
public final static int STATE_PAY = 2;
|
// 已支付
|
public final static int STATE_REJECT_PAY = 3;
|
|
|
@Id
|
@Column(name = "id")
|
private String id;
|
@Column(name = "uid")
|
private Long uid;
|
@Column(name = "`key`")
|
private String key;
|
@Column(name = "order_type")
|
private Integer orderType;
|
@Column(name = "order_no")
|
private String orderNo;
|
@Column(name = "order_state")
|
private Integer orderState;
|
@Column(name = "state")
|
private Integer state;
|
@Column(name = "state_desc")
|
private String stateDesc;
|
@Column(name = "distribute_client_uid")
|
private Long distributeClientUid;
|
@Column(name = "distribute_time")
|
private Date distributeTime;
|
@Column(name = "create_time")
|
private Date createTime;
|
@Column(name = "update_time")
|
private Date updateTime;
|
@Column(name = "excute_pay_time")
|
private Date excutePayTime;
|
@Column(name = "pay_time")
|
private Date payTime;
|
@Column(name = "order_money")
|
private BigDecimal orderMoney;
|
@Column(name = "order_channel")
|
private String orderChannel;
|
@Column(name = "pay_type")
|
private Integer payType;
|
/**
|
* 代理ID
|
**/
|
@Column(name = "agent_id")
|
private Long agentId;
|
}
|