feat: add wechat mini program mall, check-in supplement and pet skin system
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
This commit is contained in:
55
QYZH.InteractiveMagazine.Models/Entity/PetSkin.cs
Normal file
55
QYZH.InteractiveMagazine.Models/Entity/PetSkin.cs
Normal file
@ -0,0 +1,55 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace QYZH.InteractiveMagazine.Models.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 宠物皮肤定义表
|
||||
/// </summary>
|
||||
[SugarTable("PetSkin")]
|
||||
public partial class PetSkin : SqlSugarBaseEntity
|
||||
{
|
||||
public PetSkin() { }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:皮肤名称
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:皮肤图片
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string ImageUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:描述/特效说明
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:关联商品Id(用于兑换)
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public long ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:稀有度: Normal, Rare, Epic, Legendary
|
||||
/// Default:Normal
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string Rarity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:排序权重
|
||||
/// Default:0
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int SortOrder { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user