-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] Date Create 응답 객체 변경 (For Amplitude) - #279
- Loading branch information
1 parent
69fcc61
commit e91ed2d
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
dateroad-api/src/main/java/org/dateroad/date/dto/response/DateCreateRes.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,15 @@ | ||
package org.dateroad.date.dto.response; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Builder; | ||
|
||
@Builder(access = AccessLevel.PROTECTED) | ||
public record DateCreateRes( | ||
Long dateScheduleNum | ||
) { | ||
public static DateCreateRes of(final Long dateScheduleNum) { | ||
return DateCreateRes.builder() | ||
.dateScheduleNum(dateScheduleNum) | ||
.build(); | ||
} | ||
} |