Skip to content

Commit

Permalink
crud-Location
Browse files Browse the repository at this point in the history
  • Loading branch information
globox97 committed Feb 29, 2024
1 parent 5f2b92e commit 07a4799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import lombok.NoArgsConstructor;

@Entity
@EqualsAndHashCode(callSuper = false)
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
@RepositoryRestResource
public interface LocationRepository extends CrudRepository<Location, String>, PagingAndSortingRepository<Location, String> {

List<User> findByIdContaining(@Param("text") String text);
Location findByIdContaining(@Param("text") String text);
}

0 comments on commit 07a4799

Please sign in to comment.