added initial models
This commit is contained in:
parent
883979c30c
commit
9b22a6df31
11
src/main/kotlin/com/wyattjmiller/entities/Recipe.kt
Normal file
11
src/main/kotlin/com/wyattjmiller/entities/Recipe.kt
Normal file
@ -0,0 +1,11 @@
|
||||
package com.wyattjmiller.entities
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class Recipe(
|
||||
val id: Int,
|
||||
val name: String,
|
||||
val desc: String,
|
||||
val ingredients: String,
|
||||
)
|
12
src/main/kotlin/com/wyattjmiller/entities/User.kt
Normal file
12
src/main/kotlin/com/wyattjmiller/entities/User.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package com.wyattjmiller.entities
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class User(
|
||||
val id: Int,
|
||||
val firstName: String,
|
||||
val lastName: String,
|
||||
val emailAddress: String,
|
||||
val password: String,
|
||||
)
|
Reference in New Issue
Block a user