Skip to content

Commit

Permalink
이슈 #39 Free 도메인 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
ezeun committed Jan 17, 2024
1 parent cf5c876 commit 6306f90
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/main/java/umc/forgrad/domain/common/Free.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package umc.forgrad.domain.common;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
public class Free {

@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String memo;

public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getMemo() {
return memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
}

0 comments on commit 6306f90

Please sign in to comment.