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
2016-11-17 15:08:15 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1ddbdf6e2fc939bda6b0327fc90565aee98a7436
1ddbdf6e
1 parent
4a1bb3cc
Ajout des nouvelles classes et de leurs attributs.
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
src/main/java/org/legrog/entities/Action.java
src/main/java/org/legrog/entities/PublisherAction.java
src/main/java/org/legrog/entities/Action.java
0 → 100644
View file @
1ddbdf6
package
org
.
legrog
.
entities
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
/**
* Classe des actions possibles.
*/
public
class
Action
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
private
int
actionId
;
private
String
actionName
;
}
\ No newline at end of file
src/main/java/org/legrog/entities/PublisherAction.java
0 → 100644
View file @
1ddbdf6
package
org
.
legrog
.
entities
;
import
javax.persistence.*
;
import
java.sql.Timestamp
;
/**
* Classe des actions sur des (versions d') éditeurs.
*/
public
class
PublisherAction
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
private
int
publisherActionId
;
@ManyToOne
private
Action
action
;
@ManyToOne
private
User
publisherActionAuthor
;
@ManyToOne
private
PublisherVersion
publisherVersion
;
private
Timestamp
publisherActionDatetime
;
// Accessible par publisherVersion, demande spécifique de la MOE
@ManyToOne
private
Publisher
publisher
;
}
Please
register
or
login
to post a comment