We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7571059 + 4bdaeac commit 12a0c00Copy full SHA for 12a0c00
WableServer/src/main/java/com/wable/www/WableServer/api/community/domain/Community.java
@@ -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