k.e.book.ddh.entity.CcUserCollectAddDTO Maven / Gradle / Ivy
package k.e.book.ddh.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
/**
* @author kk
* @date 2023-05-21 14:25
*/
@Data
@ApiModel(value="CcUserCollectAddDTO", description="CcUserCollect")
public class CcUserCollectAddDTO implements Serializable{
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "上级持仓id")
private Integer parentId;
@ApiModelProperty(value = "用户编号")
private Integer userId;
@ApiModelProperty(value = "卖家编号")
private Integer sellerId;
@ApiModelProperty(value = "作者编号")
private Integer authorId;
@ApiModelProperty(value = "产品编号")
private Integer productId;
@ApiModelProperty(value = "项目编号")
private Integer itemId;
@ApiModelProperty(value = "金额数量(分)")
private Long amount;
@ApiModelProperty(value = "币种")
private String priceunit;
@ApiModelProperty(value = "订单编号")
private String orderid;
@ApiModelProperty(value = "创建时间")
private Integer createtime;
@ApiModelProperty(value = "更新时间")
private Integer updatetime;
@ApiModelProperty(value = "删除时间")
private Integer deletetime;
@ApiModelProperty(value = "合约地址")
private String contractAddress;
@ApiModelProperty(value = "交易哈希")
private String txhash;
@ApiModelProperty(value = "交易token编号")
private String tokenId;
@ApiModelProperty(value = "状态:0=已取消,1=确认中,2=已确认,3=挂售中,4=已售出,5=已撤回,6=销毁中,7=已销毁,8=锁定中,10=取消转增,11=转增中,12=待接收,13=已转增")
private String status;
@ApiModelProperty(value = "来源:0=未设置,1=首发购买,2=市场购买,3=合成,4=空投,5=盲盒开出,6=转入,7=积分兑换")
private Integer origin;
@ApiModelProperty(value = "createdAt")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdAt;
@ApiModelProperty(value = "updatedAt")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedAt;
@ApiModelProperty(value = "deletedAt")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date deletedAt;
}