Skip to content

Commit

Permalink
πŸ—ƒοΈ νšŒμ› JPA Entity μΆ”κ°€(#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jun108059 committed Jun 21, 2022
1 parent fca119a commit 3a3b1f1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions core/src/main/java/hexagonal/core/domain/jpa/MemberJpaEntity.java
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 3a3b1f1

Please sign in to comment.