/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.ldt.bills.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.common.enums.FrozenSatus;
import org.springblade.common.enums.FrozenType;
import org.springblade.core.mp.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-10-30
 */
@Data
@TableName("ldt_frozen_rec")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "FrozenRec对象", description = "FrozenRec对象")
public class FrozenRec extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 冻结账户类型
	 */
	@ApiModelProperty(value = "冻结账户类型")
	private FrozenType frozenType;
	/**
	 * 冻结金额
	 */
	@ApiModelProperty(value = "冻结金额")
	private BigDecimal frozenNum;
	/**
	 * 冻结前金额
	 */
	@ApiModelProperty(value = "冻结前金额")
	private BigDecimal beforeNum;
	/**
	 * 订单号
	 */
	@ApiModelProperty(value = "订单号")
	private Long tradeNo;
	/**
	 * 冻结用户id
	 */
	@ApiModelProperty(value = "冻结用户id")
	private Long userId;
	/**
	 * 冻结状态
	 */
	@ApiModelProperty(value = "冻结状态")
	private FrozenSatus frozenSatus;
	/**
	 * 冻结用户名
	 */
	@ApiModelProperty(value = "冻结用户名")
	private String userName;

}
