From 3a3b1f196d7d0e4d54c647cc852adfa497787c8f Mon Sep 17 00:00:00 2001 From: YoungJun Park Date: Tue, 21 Jun 2022 23:59:21 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20=ED=9A=8C=EC=9B=90=20JP?= =?UTF-8?q?A=20Entity=20=EC=B6=94=EA=B0=80(#3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/domain/jpa/MemberJpaEntity.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 core/src/main/java/hexagonal/core/domain/jpa/MemberJpaEntity.java diff --git a/core/src/main/java/hexagonal/core/domain/jpa/MemberJpaEntity.java b/core/src/main/java/hexagonal/core/domain/jpa/MemberJpaEntity.java new file mode 100644 index 0000000..8083bf7 --- /dev/null +++ b/core/src/main/java/hexagonal/core/domain/jpa/MemberJpaEntity.java @@ -0,0 +1,25 @@ +package hexagonal.core.domain.jpa; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +import javax.persistence.*; + +@Entity +@Table(name = "member") +@Data +@AllArgsConstructor +@NoArgsConstructor +public class MemberJpaEntity { + + @Id + @GeneratedValue + private Long id; + + @Column + private String name; + + @Column + private String type; +}