2026-06-01 17:59:23 +08:00
|
|
|
using SqlSugar;
|
2026-06-08 16:57:44 +08:00
|
|
|
using QYZH.InteractiveMagazine.Models.Enum;
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
|
|
|
{
|
|
|
|
|
///<summary>
|
|
|
|
|
///用户背包表
|
|
|
|
|
///</summary>
|
2026-06-02 17:58:10 +08:00
|
|
|
[SugarTable("UserBag")]
|
|
|
|
|
public partial class UserBag : SqlSugarBaseEntity
|
2026-06-01 17:59:23 +08:00
|
|
|
{
|
2026-06-02 17:58:10 +08:00
|
|
|
public UserBag(){
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
/// <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>
|
2026-06-04 18:03:34 +08:00
|
|
|
public long ItemId {get;set;}
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
/// <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>
|
2026-06-08 16:57:44 +08:00
|
|
|
public UserBagTypeEnum Type {get;set;}
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|