All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lightningkite.lightningserver.jsonschema.models.kt Maven / Gradle / Ivy

The newest version!
@file:UseContextualSerialization(UUID::class)

package com.lightningkite.lightningserver.jsonschema

import com.lightningkite.lightningdb.GenerateDataClassPaths
import com.lightningkite.lightningdb.HasId
import kotlinx.serialization.Serializable
import kotlinx.serialization.UseContextualSerialization
import java.util.*

@Serializable
@GenerateDataClassPaths
data class Post(
    override val _id: UUID = UUID.randomUUID(),
    val author: String,
    val title: String,
    val content: String
) : HasId




© 2015 - 2024 Weber Informatics LLC | Privacy Policy