15 lines
No EOL
393 B
Kotlin
15 lines
No EOL
393 B
Kotlin
package com.mistral.chat.data
|
|
|
|
import androidx.room.Entity
|
|
import androidx.room.PrimaryKey
|
|
|
|
@Entity(tableName = "profiles")
|
|
data class Profile(
|
|
@PrimaryKey(autoGenerate = true)
|
|
val id: Long = 0,
|
|
val name: String,
|
|
val bio: String = "",
|
|
val preferences: String = "",
|
|
val createdAt: Long = System.currentTimeMillis(),
|
|
val updatedAt: Long = System.currentTimeMillis()
|
|
) |