using System;

namespace CloudGaming.Model.DbSqlServer.Db_User;

/// <summary>
/// 用户金额记录表
/// </summary>
public partial class T_User_Currency_Log: MultiTenantEntity
{
    public T_User_Currency_Log() { }

    public virtual int Id { get; set; }

     /// <summary>
    /// 所属租户
    /// </summary>
    public override Guid TenantId { get; set; }
         
    /// <summary>
    /// 用户
    /// </summary>
    public virtual int UserId { get; set; }

    /// <summary>
    /// 金额类型
    /// </summary>
    public virtual int CurrencyType { get; set; }

    /// <summary>
    /// 金额
    /// </summary>
    public virtual decimal Consume { get; set; }

    /// <summary>
    /// 消耗类型,0消耗，1增加
    /// </summary>
    public virtual int ConsumeType { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public virtual string? Remarks { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public virtual DateTime CreateAt { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public virtual DateTime UpdateAt { get; set; }
}
