using System;

namespace CloudGaming.Model.DbSqlServer.Db_User;

/// <summary>
/// 资产收入、支出表
/// </summary>
public partial class T_User_DiamondList: MultiTenantEntity
{
    public T_User_DiamondList() { }

    public virtual int Id { get; set; }

    /// <summary>
    /// 用户Id
    /// </summary>
    public virtual int UserId { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    public virtual string Title { get; set; } = null!;

    /// <summary>
    /// 收入还是支出
    /// </summary>
    public virtual int ConsumeType { get; set; }

    /// <summary>
    /// 订单编号
    /// </summary>
    public virtual string? OrderCode { get; set; }

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

    /// <summary>
    /// 货币类型
    /// </summary>
    public virtual int CurrencyType { get; set; }

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

    /// <summary>
    /// 结束时间
    /// </summary>
    public virtual DateTime UpdateAt { get; set; }

    /// <summary>
    /// 扩展字段
    /// </summary>
    public virtual string? Extend { get; set; }

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