refactor(pet): 重构宠物模块实体与接口
1. 将原Pet实体重命名为UserPet,新增PetTemplate模板实体拆分宠物模板与实例数据 2. 调整IPetService泛型参数为IBaseService<UserPet> 3. 补充宠物模板相关字段与查询逻辑,完善创建默认宠物的流程 4. 替换所有Pet实体引用为UserPet,修正相关服务层查询与更新逻辑
This commit is contained in:
@ -8,7 +8,7 @@ namespace QYZH.InteractiveMagazine.IService;
|
||||
/// <summary>
|
||||
/// 宠物服务接口
|
||||
/// </summary>
|
||||
public interface IPetService : IBaseService<Pet>
|
||||
public interface IPetService : IBaseService<UserPet>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取用户宠物信息
|
||||
|
||||
Reference in New Issue
Block a user