Skip to content

Commit

Permalink
Merge pull request #23 from Team-MindWay/feature/22-book-order-table-…
Browse files Browse the repository at this point in the history
…implement

🔀 :: Order 테이블 추가
  • Loading branch information
Umjiseung authored Apr 3, 2024
2 parents 6e2e1dc + 5f4a78f commit 8458158
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/main/java/com/mindway/server/v2/domain/order/entity/Order.java
Original file line number Diff line number Diff line change
@@ -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;


}

0 comments on commit 8458158

Please sign in to comment.