Skip to content

Commit

Permalink
add :: Order 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Umjiseung committed Apr 3, 2024
1 parent 6e2e1dc commit 5f4a78f
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 5f4a78f

Please sign in to comment.