Skip to content

Commit 8524131

Browse files
committed
fix: Study Entity
1 parent 6d56afd commit 8524131

File tree

1 file changed

+10
-0
lines changed
  • src/main/java/dcom/homepage/api/domain/study

1 file changed

+10
-0
lines changed

src/main/java/dcom/homepage/api/domain/study/Study.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.fasterxml.jackson.annotation.JsonIgnore;
44
import dcom.homepage.api.domain.users.User;
5+
import io.swagger.models.auth.In;
56
import lombok.*;
67
import org.springframework.data.annotation.CreatedDate;
78
import org.springframework.data.annotation.LastModifiedDate;
@@ -41,6 +42,15 @@ public class Study {
4142
@Column(nullable = false)
4243
private Date endDate;
4344

45+
@Column(nullable = false)
46+
private Date vacationStartDate;
47+
48+
@Column(nullable = false)
49+
private Date vacationEndDate;
50+
51+
@Column(nullable = true)
52+
private Integer cycle;
53+
4454
@ManyToOne
4555
private User owner;
4656

0 commit comments

Comments
 (0)