package com.qnfhq.modules.c2c.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

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

import java.math.BigDecimal;

/**
 * c2c用户资产变动日志
 *
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-19
 */
@Data
@Schema(name = "c2c用户资产变动日志")
public class AppAssetLogDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "")
	private Long orderId;

	@SchemaProperty(name = "")
	private Long userId;

	@SchemaProperty(name = "币种")
	private String symbol;

	@SchemaProperty(name = "资产类型 1=平台资产 2=理财资产 3=合约账户")
	private Integer type;

	@SchemaProperty(name = "资产总额")
	private BigDecimal beforeTotal;

	@SchemaProperty(name = "资产总额")
	private BigDecimal afterTotal;

	@SchemaProperty(name = "可用资产")
	private BigDecimal beforeAvailable;

	@SchemaProperty(name = "可用资产")
	private BigDecimal afterAvailable;

	@SchemaProperty(name = "占用资产")
	private BigDecimal beforeFrozen;

	@SchemaProperty(name = "占用资产")
	private BigDecimal afterFrozen;

	@SchemaProperty(name = "")
	private String remark;

	@SchemaProperty(name = "")
	private Date createTime;


}
