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
97f3e277
Commit
97f3e277
authored
4 years ago
by
Annika Geßmann
Browse files
Options
Downloads
Patches
Plain Diff
Attribute von Group korrigiert
parent
d212a117
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
+38
-31
38 additions, 31 deletions
.../main/java/thinkTogether/groupManagement/model/Group.java
with
38 additions
and
31 deletions
groupManagement/src/main/java/thinkTogether/groupManagement/model/Group.java
+
38
−
31
View file @
97f3e277
package
thinkTogether.groupManagement.model
;
import
javax.persistence.*
;
import
java.sql.Date
;
@Entity
@Table
(
name
=
"group"
)
@Table
(
schema
=
"thinktogether"
,
name
=
"group"
)
public
class
Group
{
private
static
final
int
serialVersion
=
-
1230
;
@Id
@GeneratedValue
private
int
ID
;
private
Long
ID
;
@Column
(
name
=
"Status"
)
private
boolean
status
;
@Column
(
name
=
"Status"
)
private
String
status
;
@Column
(
name
=
"ErstellDatum"
)
private
String
datum
;
@Column
(
name
=
"ErstellDatum"
)
private
Date
datum
;
@Column
(
name
=
"modul_ID"
)
@Column
(
name
=
"modul_ID"
)
private
int
modul_id
;
protected
Group
()
{
}
public
Group
(
String
status
,
Date
datum
,
int
modul_id
)
{
this
.
datum
=
datum
;
this
.
modul_id
=
modul_id
;
this
.
status
=
status
;
protected
Group
(){
}
public
Group
(
boolean
status
,
String
datum
,
int
modul_id
){
this
.
datum
=
datum
;
this
.
modul_id
=
modul_id
;
this
.
status
=
status
;
public
void
setID
(
Long
id
)
{
this
.
ID
=
id
;
}
public
void
setID
(
Integer
id
)
{
this
.
ID
=
id
;
}
public
Integer
getId
()
{
public
Long
getId
()
{
return
ID
;
}
public
String
getDatum
()
{
public
Date
getDatum
()
{
return
datum
;
}
public
void
setDatum
(
String
datum
)
{
public
void
setDatum
(
Date
datum
)
{
this
.
datum
=
datum
;
}
public
Integer
getModul
()
{
return
modul_id
;
}
public
void
setModul
(
Integer
id
)
{
this
.
modul_id
=
id
;
}
public
boolean
getStatus
()
{
return
status
;
}
public
void
setStatus
(
boolean
status
)
{
this
.
status
=
status
;
public
Integer
getModul
()
{
return
modul_id
;
}
public
void
setModul
(
Integer
id
)
{
this
.
modul_id
=
id
;
}
public
String
getStatus
()
{
return
status
;
}
public
String
toJSON
()
{
return
"Group{"
+
", ID= '"
+
ID
+
'\''
+
", Datum='"
+
datum
+
'\''
+
", Status="
+
status
+
'\''
+
", ModulID="
+
modul_id
+
'\''
+
'}'
;
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
;
}
}
...
...
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