Skip to content

Commit

Permalink
Merge pull request #85 from HanaFun/feat/category
Browse files Browse the repository at this point in the history
fix: DTO 생성자 어노테이션 추가
  • Loading branch information
yubin-im authored Jul 5, 2024
2 parents be11a96 + dbb8435 commit 1351763
Show file tree
Hide file tree
Showing 15 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
package com.hanaro.hanafun.category.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CategoryResDto {
private Long categoryId;
private String categoryName;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
package com.hanaro.hanafun.lesson.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FullLessonResDto {
private Long lessonId;
private String image;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
package com.hanaro.hanafun.lesson.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LessonInfoResDto {
private Long lessonId;
private String image;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
package com.hanaro.hanafun.lesson.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OpenedLessonsResDto {
private Long lessonId;
private String image;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
package com.hanaro.hanafun.lessondate.dto.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Builder
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class AvailableDateReqDto {
private Long lessonId;
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
package com.hanaro.hanafun.lessondate.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AvailableDateResDto {
private Long lessondateId;
private LocalDate date;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package com.hanaro.hanafun.lessondate.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LessonDetailResDto {
private Long lessondateId;
private LocalDate date;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
package com.hanaro.hanafun.reservation.dto.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MyScheduleReqDto {
private int year;
private int month;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
package com.hanaro.hanafun.reservation.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BookLessonResDto {
private String message;
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
package com.hanaro.hanafun.reservation.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CancelLessonResDto {
private boolean isSuccess;
private String message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package com.hanaro.hanafun.reservation.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.List;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LessonDateDetailResDto {
private int applicant; // lessondate의 신청인원
private int capacity; // lesson의 모집인원
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package com.hanaro.hanafun.reservation.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.List;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MyPageResDto {
private int point;
private List<ReservationList> lessons;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package com.hanaro.hanafun.reservation.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MyScheduleResDto {
private Long reservationId;
private Long lessonId;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package com.hanaro.hanafun.reservation.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ReservationList {
private Long reservationId;
private Long lessondateId;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package com.hanaro.hanafun.reservation.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ReservationPerson {
private LocalDateTime startTime;
private String userName;
Expand Down

0 comments on commit 1351763

Please sign in to comment.