using System;

namespace CloudGaming.Model.DbSqlServer.Db_Phone;

/// <summary>
/// 商城表
/// </summary>
public partial class T_Products: MultiTenantEntity
{
    public T_Products() { }

    /// <summary>
    /// 道具Id
    /// </summary>
    public virtual int Id { get; set; }

     /// <summary>
    /// 所属租户
    /// </summary>
    public override Guid TenantId { get; set; }
         
    /// <summary>
    /// 道具Id
    /// </summary>
    public virtual string ProductId { get; set; } = null!;

    /// <summary>
    /// 道具名称
    /// </summary>
    public virtual string ProductName { get; set; } = null!;

    /// <summary>
    /// 道具类型，0我的商城
    /// </summary>
    public virtual int ProductType { get; set; }

    /// <summary>
    /// 道具描述
    /// </summary>
    public virtual string? ProductDesc { get; set; }

    /// <summary>
    /// 价格
    /// </summary>
    public virtual decimal Price { get; set; }

    /// <summary>
    /// 道具图片配置 图片id
    /// </summary>
    public virtual int ImageId { get; set; }

    /// <summary>
    /// 是否启用
    /// </summary>
    public virtual bool IsEnable { get; set; }

    /// <summary>
    /// 是否有首充
    /// </summary>
    public virtual bool IsFirstCharge { get; set; }

    /// <summary>
    /// 首充图片
    /// </summary>
    public virtual int? FirstChargeImageId { get; set; }

    /// <summary>
    /// 首充价格
    /// </summary>
    public virtual decimal? FirstChargePrice { get; set; }

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

    /// <summary>
    /// 更新时间
    /// </summary>
    public virtual DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public virtual int? OrderById { get; set; }

    /// <summary>
    /// 选中图片
    /// </summary>
    public virtual int? SelectImageId { get; set; }

    /// <summary>
    /// 选中首充图片
    /// </summary>
    public virtual int? SelectFirstChargeImageId { get; set; }
}
