This commit is contained in:
nite 2025-04-07 22:28:43 +10:00
parent cf1f68c2d8
commit ecf81bcf79

View File

@ -72,6 +72,6 @@ type EntityEndpoint[T any] interface {
Query(string) ([]*T, error) Query(string) ([]*T, error)
GetByID(uint64) (*T, error) GetByID(uint64) (*T, error)
GetByIDs([]uint64) ([]*T, error) GetByIDs([]uint64) ([]*T, error)
GetLastOneId() (uint64, error) Count() (uint64, error)
Paginated(uint64, uint64) ([]*T, error) Paginated(uint64, uint64) ([]*T, error)
} }