-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathTask.java
More file actions
75 lines (58 loc) · 1.34 KB
/
Task.java
File metadata and controls
75 lines (58 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package com.accenture.codingtest.springbootcodingtest.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "task")
public class Task {
@Id
@Column(name = "id")
private String id;
@Column(name = "title", length = 250, nullable = false)
private String title;
@Column(name = "description")
private String description;
@Column(name = "status", nullable = false)
private String status;
@Column(name = "project_id", nullable = false)
private String projectId;
@Column(name = "user_id", nullable = false)
private String userId;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getProjectId() {
return projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
}