-
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 pull request #43 from How-homework-out/master
Master
- Loading branch information
Showing
11 changed files
with
83 additions
and
24 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
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,18 @@ | ||
package inha.how.Domain.dto.live; | ||
|
||
import inha.how.Domain.dto.routine.RoutinneDetailResult; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.util.List; | ||
import java.util.Set; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class liveExRes { | ||
private RoutinneDetailResult routinneDetailResult; | ||
private Long ActionCnt; | ||
|
||
} |
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,21 @@ | ||
package inha.how.Domain.dto.live; | ||
|
||
import inha.how.Domain.dto.routine.RoutinneDetailResult; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.util.List; | ||
import java.util.Set; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class liveRoutRes { | ||
private Long routId; | ||
private String name; | ||
private Integer hits; | ||
private Long actionCnt; | ||
private Set<String> cate; | ||
private List<RoutinneDetailResult> routineDetails; | ||
} |
8 changes: 4 additions & 4 deletions
8
src/main/java/inha/how/Domain/dto/routine/RoutineMeDetailMapping.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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
package inha.how.Domain.dto.routine; | ||
|
||
import com.fasterxml.jackson.annotation.JsonFormat; | ||
import org.springframework.format.annotation.DateTimeFormat; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
public interface RoutineMeDetailMapping { | ||
//운동 id | ||
//운동 제목 | ||
//운동 횟수 | ||
//내 루틴 생성 일자 | ||
|
||
Long getRoutineId(); | ||
String getRoutineSubject(); | ||
Integer getCount(); | ||
@JsonFormat(pattern = "yyyy-MM-dd") | ||
LocalDateTime getCreateDate(); | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
package inha.how.Repository.Live; | ||
|
||
import inha.how.Domain.dto.live.liveExRes; | ||
import inha.how.Domain.dto.live.liveRoutRes; | ||
import inha.how.Domain.dto.routine.RoutineDetailRes; | ||
import lombok.NoArgsConstructor; | ||
import org.springframework.stereotype.Repository; | ||
|
||
|
||
public interface LiveRoutine { | ||
void save(Long id, RoutineDetailRes routineDetailRes); | ||
void save(Long id, liveRoutRes liveRoutRes); | ||
//수정 | ||
RoutineDetailRes modifyRoutine(Long id, RoutineDetailRes routineDetailRes); | ||
liveRoutRes modifyRoutine(Long id, liveRoutRes liveRoutRes); | ||
void deleteRoutine(); | ||
Object nextAction(Long id); | ||
RoutineDetailRes showRoutine(Long id); | ||
liveRoutRes showRoutine(Long id); | ||
} |
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
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
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