Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioT90 committed Jan 14, 2025
1 parent 4368864 commit 84e3b9f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "taxonomy")
public class TaxonomyOrganizationTypeDTO {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package it.gov.pagopa.pu.organization.repository.taxonomy;

import it.gov.pagopa.pu.organization.model.taxonomy.TaxonomyOrganizationTypeDTO;
import org.springframework.data.repository.Repository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import java.util.List;

@RepositoryRestResource(path = "taxonomies-organization-types")
public interface TaxonomyOrganizationTypeRepository extends Repository<TaxonomyOrganizationTypeDTO, Long> {
List<TaxonomyOrganizationTypeDTO> findDistinctOrganizationTypeByOrderByOrganizationTypeAsc();
}

0 comments on commit 84e3b9f

Please sign in to comment.