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
d070e5e0698982239d5829d18ed5cdac48da8d4a
d070e5e0
1 parent
5a0a991c
Ajout des nouvelles classes et de leurs attributs.
Show 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 @
d070e5e
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 @
d070e5e
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