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; + + +}