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>
|
2026-06-05 18:10:34 +08:00
|
|
|
|
///用户宠物实例表
|
2026-06-01 17:59:23 +08:00
|
|
|
|
///</summary>
|
2026-07-08 10:37:03 +08:00
|
|
|
|
[SugarTable("User_Pet")]
|
2026-06-05 18:10:34 +08:00
|
|
|
|
public partial class UserPet : SqlSugarBaseEntity
|
2026-06-01 17:59:23 +08:00
|
|
|
|
{
|
2026-06-05 18:10:34 +08:00
|
|
|
|
public UserPet()
|
2026-06-05 17:15:30 +08:00
|
|
|
|
{
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
2026-06-05 17:15:30 +08:00
|
|
|
|
}
|
2026-06-02 14:10:43 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:用户Id
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
2026-06-05 17:15:30 +08:00
|
|
|
|
public long UserId { get; set; }
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
2026-06-05 18:10:34 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:宠物模板Id(关联PetTemplate.Id)
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public long TemplateId { get; set; }
|
|
|
|
|
|
|
2026-06-05 17:15:30 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:宠物昵称
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:当前进化形态Id
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public long 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; }
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
2026-06-05 17:15:30 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:当前皮肤Id(0为默认皮肤)
|
|
|
|
|
|
/// Default:0
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public long CurrentSkinId { get; set; }
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
2026-06-05 17:15:30 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:宠物类型
|
|
|
|
|
|
/// Default:Normal
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
|
public UserPetTypeEnum Type { get; set; }
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
2026-06-05 17:15:30 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 理解力
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Comprehension { get; set; }
|
2026-06-04 18:03:34 +08:00
|
|
|
|
|
2026-06-05 17:15:30 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 判断力
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Judgment { get; set; }
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
2026-06-05 17:15:30 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 表达力
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Expression { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 说服力
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Persuasiveness { get; set; }
|
2026-06-01 17:59:23 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|