package com.friday.custody.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

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

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * 
 * @author lyb
 * @email k0051582@gmail.com
 * @date 2022-02-16 10:32:27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("custody_tg_account_balance_info")
public class TgAccountBalanceInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;
	/**
	 * 银行账号
	 */
	private String bankAcco;
	/**
	 * 账户余额
	 */
	private BigDecimal accoBalance;
	/**
	 * 可用余额
	 */
	private BigDecimal availableBalance;
	/**
	 * 数据字典：币种
	 */
	private String currency;
	/**
	 * 更新时间：YYYY-MM-DD HH:mm:ss
	 */
	private String updateDate;
	/**
	 * 托管人编码
	 */
	private String trustNo;
	/**
	 * 租户名
	 */
	private String admin;
	/**
	 * 唯一索引：用于插入
	 */
	private String uniqueKey;
	/**
	 * 版本
	 */
	private String version;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 是否删除(有效|0,无效|1)
	 */
	private Integer isDeleted;

}
