65 lines
1.6 KiB
C#
65 lines
1.6 KiB
C#
|
|
using SqlSugar;
|
||
|
|
|
||
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
||
|
|
{
|
||
|
|
///<summary>
|
||
|
|
///用户背包表
|
||
|
|
///</summary>
|
||
|
|
[SugarTable("UserBag")]
|
||
|
|
public partial class UserBag : BaseEntity
|
||
|
|
{
|
||
|
|
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 int 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 string Type {get;set;}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Desc:状态: Available, Expired
|
||
|
|
/// Default:Available
|
||
|
|
/// Nullable:False
|
||
|
|
/// </summary>
|
||
|
|
public string Status {get;set;}
|
||
|
|
}
|
||
|
|
}
|