package org.example.ssmico.demos.web.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import lombok.Data;
|
import org.springframework.data.annotation.Transient;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* @program: dabao
|
* @description: 新币订单表
|
* @create: 2024-04-10 14:40
|
**/
|
@Data
|
@TableName("ico_order")
|
public class IcoOrder implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 新币id
|
*/
|
private Integer icoNewCurrencyId;
|
|
/**
|
* 新币名称
|
*/
|
private String newCoinName;
|
|
/**
|
* 新币代码
|
*/
|
private String tokenCode;
|
|
/**
|
* 用户id
|
*/
|
private String userId;
|
|
/**
|
* 用户名称
|
*/
|
@TableField(exist = false)
|
private String userName;
|
|
/**
|
* 中签/配售数量
|
*/
|
private Integer lotteryQuantity;
|
|
/**
|
* 订单类型(1.申购,2.配售)
|
*/
|
private Integer orderType;
|
|
/**
|
* 状态(0.未中签 1.已认购 2.已中签 3.已认缴 4.已转资产)
|
*/
|
private Integer status;
|
|
/**
|
* 是否已完成 0.否 1.是
|
*/
|
private Integer isCompleted;
|
|
/**
|
* 创建时间
|
*/
|
private Date createTime;
|
|
/**
|
* 修改时间
|
*/
|
private Date modifyTime;
|
|
public IcoOrder() {}
|
}
|