package com.bizzan.bitrade.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@Entity
public class ExchangeFreezeHistory {

	@GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
    private Long id; 
	
	private Long memberId;
	@ApiModelProperty("币种")
	private String coinId;
	@ApiModelProperty("冻结数量")
	private BigDecimal amount;
	@ApiModelProperty("解冻时间")
	private Date unfreezeTime;
	@ApiModelProperty("冻结状态 0冻结中 1已解冻")
	private int status;
	private int type;
}
