Files
fm_be/internal/domain/flight_inspection/repository.go
2026-07-16 22:16:45 +07:00

14 lines
493 B
Go

package flightinspection
import "context"
type FlightInspectionRepository interface {
Create(ctx context.Context, row *FlightInspection) error
Update(ctx context.Context, row *FlightInspection) error
GetByID(ctx context.Context, id []byte) (*FlightInspection, error)
List(ctx context.Context, sort string, limit, offset int) ([]FlightInspection, int64, error)
}
// Repository is kept as backward-compatible alias for older services/wirings.
type Repository = FlightInspectionRepository