using QYZH.InteractiveMagazine.Models.Enum; namespace QYZH.InteractiveMagazine.Models.Dto.Pet; /// /// 进化阶段创建/更新输入 /// public class PetEvolutionInput { /// /// 所属宠物模板Id /// public long TemplateId { get; set; } /// /// 阶段名称 /// public string StageName { get; set; } = string.Empty; /// /// 阶段等级 /// public int StageLevel { get; set; } /// /// 进化所需成长值 /// public int RequiredGrowth { get; set; } /// /// 前一形态Id(null表示初始形态) /// public long? PreviousEvolutionId { get; set; } /// /// 基础力量 /// public int BaseStrength { get; set; } /// /// 基础敏捷 /// public int BaseAgility { get; set; } /// /// 基础智力 /// public int BaseIntelligence { get; set; } /// /// 基础魅力 /// public int BaseCharm { get; set; } /// /// 进化类型: Normal, Special /// public string Type { get; set; } = PetEvolutionTypeEnum.Normal.ToString(); } /// /// 进化阶段输出 /// public class PetEvolutionOutput { public long Id { get; set; } public long TemplateId { get; set; } public string StageName { get; set; } = string.Empty; public int StageLevel { get; set; } public int RequiredGrowth { get; set; } public long? PreviousEvolutionId { get; set; } public int BaseStrength { get; set; } public int BaseAgility { get; set; } public int BaseIntelligence { get; set; } public int BaseCharm { get; set; } public string Type { get; set; } = string.Empty; public string Status { get; set; } = string.Empty; public string? CreatedBy { get; set; } public DateTime CreatedAt { get; set; } public string? UpdatedBy { get; set; } public DateTime? UpdatedAt { get; set; } } /// /// 进化阶段分页查询输入 /// public class PetEvolutionQueryInput : PageQueryModel { /// /// 所属宠物模板Id(必填) /// public long TemplateId { get; set; } /// /// 阶段名称(模糊搜索) /// public string? StageName { get; set; } }