mirror of
https://github.com/gabehf/tempus.git
synced 2026-03-09 07:28:20 -07:00
39 lines
No EOL
898 B
Kotlin
39 lines
No EOL
898 B
Kotlin
package com.cappielloantonio.tempo.model
|
|
|
|
import android.os.Parcelable
|
|
import androidx.annotation.Keep
|
|
import androidx.annotation.Nullable
|
|
import androidx.room.ColumnInfo
|
|
import androidx.room.Entity
|
|
import androidx.room.PrimaryKey
|
|
import kotlinx.parcelize.Parcelize
|
|
|
|
@Keep
|
|
@Parcelize
|
|
@Entity(tableName = "server")
|
|
data class Server(
|
|
@PrimaryKey
|
|
@ColumnInfo(name = "id")
|
|
val serverId: String,
|
|
|
|
@ColumnInfo(name = "server_name")
|
|
val serverName: String,
|
|
|
|
@ColumnInfo(name = "username")
|
|
val username: String,
|
|
|
|
@ColumnInfo(name = "password")
|
|
val password: String,
|
|
|
|
@ColumnInfo(name = "address")
|
|
val address: String,
|
|
|
|
@ColumnInfo(name = "local_address")
|
|
val localAddress: String?,
|
|
|
|
@ColumnInfo(name = "timestamp")
|
|
val timestamp: Long,
|
|
|
|
@ColumnInfo(name = "low_security", defaultValue = "false")
|
|
val isLowSecurity: Boolean
|
|
) : Parcelable |