Skip to content

Commit

Permalink
[be] feat codesquad-kiosk-max-team-02#59 : OrderRequestDto 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
DOEKYONG committed Jun 27, 2023
1 parent a277be3 commit 1a58e4a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions be/src/main/java/com/codesquad/kiosk/dto/OrderItem.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.codesquad.kiosk.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public class OrderItem {
private int menuId;

private int quantity;

private int[] option;
}
14 changes: 14 additions & 0 deletions be/src/main/java/com/codesquad/kiosk/dto/OrderRequestDto.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.codesquad.kiosk.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.List;

@Getter
@AllArgsConstructor
public class OrderRequestDto {

private List<OrderItem> orderList;
private int number;
}

0 comments on commit 1a58e4a

Please sign in to comment.