using SqlSugar;
using QYZH.InteractiveMagazine.Models.Enum;

namespace QYZH.InteractiveMagazine.Models.Entity
{
    ///<summary>
    ///用户背包表
    ///</summary>
    [SugarTable("UserBag")]
    public partial class UserBag : SqlSugarBaseEntity
    {
           public UserBag(){


           }
           /// <summary>
           /// Desc:用户Id
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long UserId {get;set;}

           /// <summary>
           /// Desc:物品类型: MakeUpCard, PetBg
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ItemType {get;set;}

           /// <summary>
           /// Desc:关联商品Id或资源Id
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long ItemId {get;set;}

           /// <summary>
           /// Desc:数量
           /// Default:1
           /// Nullable:False
           /// </summary>           
           public int Quantity {get;set;}

           /// <summary>
           /// Desc:扩展信息
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MetaData {get;set;}

           /// <summary>
           /// Desc:背包物品分类
           /// Default:
           /// Nullable:True
           /// </summary>           
           public UserBagTypeEnum Type {get;set;}

    }
}
