Skip to content

Commit

Permalink
Merge pull request #77 from HanaFun/lesson
Browse files Browse the repository at this point in the history
fix: builder and AllArgsConstructor
  • Loading branch information
doSeung11 authored Jul 4, 2024
2 parents d2f44ee + 7913453 commit 5a237ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
package com.hanaro.hanafun.lesson.dto.request;

import com.fasterxml.jackson.annotation.JsonFormat;
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 CreateLessonDateReqDto {
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate date;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package com.hanaro.hanafun.lesson.dto.request;

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

import java.util.List;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CreateLessonReqDto {
private Long categoryId;
private String title;
Expand Down

0 comments on commit 5a237ce

Please sign in to comment.