Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit d4c83b2

Browse files
committed
feat: user model の追加
1 parent 9df6c5e commit d4c83b2

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

  • src/main/kotlin/dev/sunabak0/akiyadego/domain
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)