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
72 lines
1.8 KiB
C#
72 lines
1.8 KiB
C#
using SqlSugar;
|
||
|
||
namespace QYZH.InteractiveMagazine.Models.Entity
|
||
{
|
||
///<summary>
|
||
///宠物实例表
|
||
///</summary>
|
||
[SugarTable("Pet")]
|
||
public partial class Pet : SqlSugarBaseEntity
|
||
{
|
||
public Pet(){
|
||
|
||
|
||
}
|
||
/// <summary>
|
||
/// Desc:用户Id
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public long UserId {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:宠物昵称
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Name {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:当前进化形态Id
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int CurrentEvolutionId {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:当前成长值
|
||
/// Default:0
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int GrowthPoints {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:累计喂养次数
|
||
/// Default:0
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int FeedingCount {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:当前皮肤Id(0为默认皮肤)
|
||
/// Default:0
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public long CurrentSkinId {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:宠物类型
|
||
/// Default:Normal
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string Type {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:状态: Inactive, Active, Sleeping
|
||
/// Default:Inactive
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string Status {get;set;}
|
||
}
|
||
}
|