package repository import ( "mayfly-go/internal/machine/api/vo" "mayfly-go/internal/machine/domain/entity" "mayfly-go/pkg/base" "mayfly-go/pkg/model" ) type Machine interface { base.Repo[*entity.Machine] // 分页获取机器信息列表 GetMachineList(condition *entity.MachineQuery, pageParam *model.PageParam, toEntity *[]*vo.MachineVO, orderBy ...string) (*model.PageResult[*[]*vo.MachineVO], error) Count(condition *entity.MachineQuery) int64 }