From 5f4a78ff97085851a8f66f8d430c27ebbc2475b6 Mon Sep 17 00:00:00 2001 From: Umjiseung <127853946+Umjiseung@users.noreply.github.com> Date: Wed, 3 Apr 2024 16:47:36 +0900 Subject: [PATCH] =?UTF-8?q?add=20::=20Order=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/v2/domain/order/entity/Order.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/main/java/com/mindway/server/v2/domain/order/entity/Order.java diff --git a/src/main/java/com/mindway/server/v2/domain/order/entity/Order.java b/src/main/java/com/mindway/server/v2/domain/order/entity/Order.java new file mode 100644 index 0000000..7585c3b --- /dev/null +++ b/src/main/java/com/mindway/server/v2/domain/order/entity/Order.java @@ -0,0 +1,30 @@ +package com.mindway.server.v2.domain.order.entity; + +import jakarta.persistence.Entity; +import jakarta.persistence.GeneratedValue; +import jakarta.persistence.GenerationType; +import jakarta.persistence.Id; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Getter; +import lombok.NoArgsConstructor; + +@Entity +@AllArgsConstructor +@NoArgsConstructor +@Getter +@Builder +public class Order { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + private String title; + + private String author; + + private String bookURL; + + +}