commonMain.hu.simplexion.adaptive.email.model.Email.kt Maven / Gradle / Ivy
package hu.simplexion.adaptive.email.model
import hu.simplexion.adaptive.utility.UUID
import kotlinx.datetime.Clock
import kotlinx.datetime.Instant
class Email(
val recipients : String,
val subject: String,
val content : String,
val uuid : UUID = UUID(),
val status : EmailStatus = EmailStatus.SendWait,
val createdAt : Instant = Clock.System.now(),
val sentAt : Instant? = null,
val sensitive : Boolean = true,
val hasAttachment : Boolean = false,
val contentType : String = "text/plain"
)