Skip to content

Commit 12a0c00

Browse files
authored
Merge pull request #67 from Team-Wable/feat/#66
[FEAT] community DB table
2 parents 7571059 + 4bdaeac commit 12a0c00

File tree

1 file changed

+23
-0
lines changed
  • WableServer/src/main/java/com/wable/www/WableServer/api/community/domain

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package com.wable.www.WableServer.api.community.domain;
2+
import jakarta.persistence.*;
3+
import lombok.Getter;
4+
import lombok.NoArgsConstructor;
5+
6+
import java.time.LocalDateTime;
7+
8+
import static lombok.AccessLevel.PROTECTED;
9+
10+
@Entity
11+
@Getter
12+
@NoArgsConstructor(access = PROTECTED)
13+
public class Community {
14+
@Id
15+
@GeneratedValue(strategy = GenerationType.IDENTITY)
16+
private Long id;
17+
18+
@Column(name = "community_name")
19+
private String communityName;
20+
21+
@Column(name = "community_number")
22+
private int communityNumber;
23+
}

0 commit comments

Comments
 (0)