Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS_SoSe2020
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Annika Geßmann
VS_SoSe2020
Commits
141a7486
Commit
141a7486
authored
4 years ago
by
Annika Geßmann
Browse files
Options
Downloads
Patches
Plain Diff
Group like Cat
parent
14f73026
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
groupManagement/src/main/java/thinkTogether/groupManagement/model/Group.java
+9
-19
9 additions, 19 deletions
.../main/java/thinkTogether/groupManagement/model/Group.java
with
9 additions
and
19 deletions
groupManagement/src/main/java/thinkTogether/groupManagement/model/Group.java
+
9
−
19
View file @
141a7486
...
@@ -4,32 +4,22 @@ import javax.persistence.*;
...
@@ -4,32 +4,22 @@ import javax.persistence.*;
import
java.sql.Date
;
import
java.sql.Date
;
@Entity
@Entity
@Table
(
name
=
"group"
)
public
class
Group
{
public
class
Group
{
private
static
final
int
serialVersion
=
-
1230
;
@Id
@GeneratedValue
@Column
(
name
=
"group_id"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"status"
)
private
String
status
;
private
String
status
;
@Column
(
name
=
"erstellDatum"
)
private
Date
erstelldatum
;
private
Date
datum
;
@Column
(
name
=
"modul_id"
)
private
int
modulid
;
private
int
modul_id
;
protected
Group
()
{
protected
Group
()
{
}
}
public
Group
(
String
status
,
Date
datum
,
int
modul
_
id
)
{
public
Group
(
String
status
,
Date
erstell
datum
,
int
modulid
)
{
this
.
datum
=
datum
;
this
.
erstell
datum
=
erstell
datum
;
this
.
modul
_
id
=
modul
_
id
;
this
.
modulid
=
modulid
;
this
.
status
=
status
;
this
.
status
=
status
;
}
}
...
@@ -43,19 +33,19 @@ public class Group {
...
@@ -43,19 +33,19 @@ public class Group {
}
}
public
Date
getDatum
()
{
public
Date
getDatum
()
{
return
datum
;
return
erstell
datum
;
}
}
public
void
setDatum
(
Date
datum
)
{
public
void
setDatum
(
Date
datum
)
{
this
.
datum
=
datum
;
this
.
erstell
datum
=
datum
;
}
}
public
Integer
getModul
()
{
public
Integer
getModul
()
{
return
modul
_
id
;
return
modulid
;
}
}
public
void
setModul
(
Integer
id
)
{
public
void
setModul
(
Integer
id
)
{
this
.
modul
_
id
=
id
;
this
.
modulid
=
id
;
}
}
public
String
getStatus
()
{
public
String
getStatus
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment