Skip to content

Commit

Permalink
[FEAT/#26] 최근 접수 주문 응답 Dto 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
seokbeom00 committed Oct 4, 2024
1 parent 85727d0 commit ac3e434
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.rootandfruit.server.dto;

public record RecentOrderResponseDto(
Integer orderNumber,
String senderName
) {
public static RecentOrderResponseDto of(
final Integer orderNumber,
final String senderName
) {
return new RecentOrderResponseDto(
orderNumber, senderName
);
}
}

0 comments on commit ac3e434

Please sign in to comment.