package com.friday.custody.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * 订阅产品信息表(custody_subscribe_fund_info)
 * 
 * @author lyb
 * @email k0051582@gmail.com
 * @date 2023-02-06 13:59:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("custody_subscribe_fund_info")
public class SubscribeFundInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 自增id
	 */
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;
	/**
	 * 管理人
	 */
	private String admin;
	/**
	 * 托管编码
	 */
	private String trustNo;

	/**
	 * 订阅的产品代码
	 */
	private String subscribeFundCode;
	/**
	 * 通知的账户类型;ZJ001-托管户;ZJ002-募集户
	 */
	private String accountType;
	/**
	 * 提醒类型: 0:变动提醒;1:超限提醒(余额值);
	 */
	private Integer reminderType;
	/**
	 * 上限值(万元)
	 */
	private BigDecimal highLimitValue;
	/**
	 * 下限值(万元)
	 */
	private BigDecimal lowLimitValue;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 是否删除(有效|0,无效|1)
	 */
	@TableLogic
	private Integer isDeleted;

}
