2026-06-05 18:10:34 +08:00
|
|
|
|
using SqlSugar;
|
2026-06-08 16:57:44 +08:00
|
|
|
|
using QYZH.InteractiveMagazine.Models.Enum;
|
2026-06-05 18:10:34 +08:00
|
|
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 宠物模板表(定义不同宠物种类,支持后期多宠物扩展)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarTable("PetTemplate")]
|
|
|
|
|
|
public partial class PetTemplate : SqlSugarBaseEntity
|
|
|
|
|
|
{
|
|
|
|
|
|
public PetTemplate() { }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:模板名称
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:模板描述
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:默认初始进化形态Id(关联PetEvolution.Id)
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public long DefaultEvolutionId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:模板图标地址
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string IconUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:排序权重
|
|
|
|
|
|
/// Default:0
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int SortOrder { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:模板类型: Normal, Special, Limited
|
|
|
|
|
|
/// Default:Normal
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
|
public PetTemplateTypeEnum Type { get; set; }
|
2026-06-05 18:10:34 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:状态: Active, Inactive
|
|
|
|
|
|
/// Default:Active
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
|
public PetTemplateStatusEnum Status { get; set; }
|
2026-06-05 18:10:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|