issues
search
Daggerpov
/
Spawn-App-Back-End
Back-end REST API for the Spawn mobile app, written in Java Spring Boot, and connected to a MySQL database.
Other
2
stars
0
forks
source link
Models: Event and User
#10
Closed
Daggerpov
closed
5 days ago
Daggerpov
commented
5 days ago
Made very basic model classes, marked with
@Entity
to work with JPA (Java Persistence API) -> to map these easily to database entities.
Gave them both primary keys of just regular
id
variables
Replaced old
User
class with proper entity
User
class (model)
@Entity
to work with JPA (Java Persistence API) -> to map these easily to database entities.id
variablesUser
class with proper entityUser
class (model)