mirror of
https://github.com/SamyRai/tercul-backend.git
synced 2025-12-27 05:11:34 +00:00
15 lines
351 B
Go
15 lines
351 B
Go
package edition
|
|
|
|
import (
|
|
"context"
|
|
"tercul/internal/domain"
|
|
)
|
|
|
|
// EditionRepository defines CRUD methods specific to Edition.
|
|
type EditionRepository interface {
|
|
domain.BaseRepository[domain.Edition]
|
|
|
|
ListByBookID(ctx context.Context, bookID uint) ([]domain.Edition, error)
|
|
FindByISBN(ctx context.Context, isbn string) (*domain.Edition, error)
|
|
}
|