using QYZH.InteractiveMagazine.Models.Enum;
namespace QYZH.InteractiveMagazine.Models.Dto.Pet;
///
/// 宠物模板创建/更新输入
///
public class PetTemplateInput
{
///
/// 模板名称
///
public string Name { get; set; } = string.Empty;
///
/// 模板描述
///
public string? Description { get; set; }
///
/// 默认初始进化形态Id
///
public long DefaultEvolutionId { get; set; }
///
/// 模板图标地址
///
public string? IconUrl { get; set; }
///
/// 排序权重
///
public int SortOrder { get; set; }
///
/// 模板类型: Normal, Special, Limited
///
public string Type { get; set; } = PetTemplateTypeEnum.Normal.ToString();
}
///
/// 宠物模板输出
///
public class PetTemplateOutput
{
public long Id { get; set; }
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public long DefaultEvolutionId { get; set; }
public string? IconUrl { get; set; }
public int SortOrder { 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 PetTemplateQueryInput : PageQueryModel
{
///
/// 模板名称(模糊搜索)
///
public string? Name { get; set; }
///
/// 模板类型: Normal, Special, Limited
///
public string? Type { get; set; }
///
/// 状态: Active, Inactive
///
public string? Status { get; set; }
}