-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into main
- Loading branch information
Showing
5 changed files
with
61 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
src/main/java/com/haemil/backend/schedule/dto/ScheduleRequestDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package com.haemil.backend.schedule.dto; | ||
|
||
import com.haemil.backend.schedule.entity.RepeatType; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.time.DayOfWeek; | ||
import java.time.LocalDate; | ||
import java.time.LocalTime; | ||
|
||
//schedule에 데이터를 넣을 때의 입력 요청 값을 받음 | ||
@NoArgsConstructor | ||
@Getter | ||
public class ScheduleRequestDto { | ||
|
||
private Long id; | ||
|
||
private LocalDate localDate; | ||
|
||
private DayOfWeek dayOfWeek; | ||
|
||
private LocalTime time; | ||
|
||
private String content; | ||
|
||
private Boolean done; | ||
|
||
private String place; | ||
|
||
private String medicine; | ||
|
||
private RepeatType repeatType; | ||
|
||
|
||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/com/haemil/backend/schedule/entity/RepeatType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.haemil.backend.schedule.entity; | ||
|
||
|
||
public enum RepeatType { | ||
DAILY, | ||
WEEKLY, | ||
MONTHLY, | ||
NONE | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters