-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject.java
More file actions
73 lines (56 loc) · 1.31 KB
/
Copy pathProject.java
File metadata and controls
73 lines (56 loc) · 1.31 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
package com.klem.projecttracker;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
public class Project {
private Long id;
private String name;
private String description;
// @JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate deadline;
private Status status;
public Project() {
}
public Project(Long id, String name, String description, LocalDate deadline, Status status) {
super();
this.id = id;
this.name = name;
this.description = description;
this.deadline = deadline;
this.status = status;
}
@Override
public String toString() {
return "Project [id=" + id + ", name=" + name + ", description=" + description + ", deadline=" + deadline
+ ", status=" + status + "]";
}
public void setId(Long id) {
this.id = id;
}
public void setName(String name) {
this.name = name;
}
public void setDescription(String description) {
this.description = description;
}
public void setDeadline(LocalDate deadline) {
this.deadline = deadline;
}
public void setStatus(Status status) {
this.status = status;
}
public Long getId() {
return id;
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
public LocalDate getDeadline() {
return deadline;
}
public Status getStatus() {
return status;
}
}