There was an error while loading. Please reload this page.
1 parent 9df6c5e commit d4c83b2Copy full SHA for d4c83b2
1 file changed
src/main/kotlin/dev/sunabak0/akiyadego/domain/User.kt
@@ -0,0 +1,23 @@
1
+package dev.sunabak0.akiyadego.domain
2
+
3
+/**
4
+ * User
5
+ *
6
+ * @property id
7
+ * @property uuid
8
+ * @property name
9
+ * @property email
10
+ * @property password
11
+ * @property createdAt
12
+ * @property posts
13
+ * @constructor Create empty User
14
+ */
15
+data class User(
16
+ val id: Int,
17
+ val uuid: String,
18
+ val name: String,
19
+ val email: String,
20
+ val password: String,
21
+ val createdAt: String,
22
+ val posts: List<Post> = listOf(),
23
+)
0 commit comments