package ports import ( "context" "git.maximotejeda.com/maximo/cedulados/internal/application/core/domain" ) type DBPorts interface { ByCedula(ctx context.Context, cedula *domain.Cedula) (*domain.Cedulado, error) GetByNameLastName(ctx context.Context, nombre, apellido1, apellido2 string, page int64) (*domain.MultipleResults, error) GetByFTS(ctx context.Context, parametros string, page int64) (*domain.MultipleResults, error) ByNameAndLocation(ctx context.Context, nombre, apellido1, apellido2, municipio string, page int64) (*domain.MultipleResults, error) QueryFotoByCedula(ctx context.Context, cedula *domain.Cedula) (*domain.Foto, error) QueryFotoById(ctx context.Context, id int64) (*domain.Foto, error) QueryAllCedulas(ctx context.Context, cedulas []*domain.Cedula) ([]*domain.Foto, error) }