Skip to content

Commit

Permalink
feat: post モデルの実装
Browse files Browse the repository at this point in the history
  • Loading branch information
kinari321 committed Jan 16, 2023
1 parent 9df6c5e commit 1af774e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/main/kotlin/dev/sunabak0/akiyadego/domain/Post.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package dev.sunabak0.akiyadego.domain

/**
* 投稿
*
* @property id
* @property imagePath
* @property title
* @property category
* @property prefecture
* @property description
* @property userId
* @property createdAt
* @constructor Create empty Post
*/
data class Post(
val id: Int,
val imagePath: String,
val title: String,
val category: String,
val prefecture: String,
val description: String,
val userId: Int,
val createdAt: String,
)

0 comments on commit 1af774e

Please sign in to comment.