Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-01-30 09:51:13 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c0599f3e7afbf9ac115e3556a9f744dc753b9d26
c0599f3e
1 parent
b7a8bb43
Suppression de Book* dans entities.
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
44 deletions
src/main/java/org/legrog/entities/Book.java
src/main/java/org/legrog/entities/BookRepository.java
src/main/java/org/legrog/entities/Book.java
deleted
100644 → 0
View file @
b7a8bb4
package
org
.
legrog
.
entities
;
import
javax.persistence.*
;
@Entity
public
class
Book
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
int
bookId
;
private
String
bookTitle
;
public
int
getBookId
()
{
return
bookId
;
}
public
void
setBookId
(
int
bookId
)
{
this
.
bookId
=
bookId
;
}
public
String
getBookTitle
()
{
return
bookTitle
;
}
public
void
setBookTitle
(
String
bookName
)
{
this
.
bookTitle
=
bookName
;
}
@Override
public
String
toString
()
{
return
"Book{"
+
"bookId="
+
bookId
+
", bookTitle='"
+
bookTitle
+
'\''
+
'}'
;
}
}
src/main/java/org/legrog/entities/BookRepository.java
deleted
100644 → 0
View file @
b7a8bb4
package
org
.
legrog
.
entities
;
import
org.springframework.data.jpa.repository.JpaRepository
;
public
interface
BookRepository
extends
JpaRepository
<
Book
,
Integer
>
{
}
Please
register
or
login
to post a comment