This commit implements a complete WeChat mini program mall and related features: 1. Add pet skin entity and backpack item type support 2. Add make-up check-in and missed date query functions 3. Implement mall product browsing, exchange and record query 4. Add backpack management and item usage (make-up card) 5. Add pet skin equipping function 6. Fix UserBag ItemId type from int to long 7. Adjust Dockerfile exposed port to 8080 8. Fix session cookie unprotect warning
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 : 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 string Type {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:状态: Available, Expired
|
|
/// Default:Available
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string Status {get;set;}
|
|
}
|
|
}
|