package com.ys.bdtp.adm.mvvm.model.db.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 项目表(远程无对应表)
 */
@Entity(tableName = "project")
data class ProjectEntity(
    @PrimaryKey
    @ColumnInfo(name = "id") val projectId: String,
    @ColumnInfo(name = "name") val projectName: String,
    @ColumnInfo(name = "group_code") val groupCode: String,
    @ColumnInfo(name = "latitude") val latitude: String?,
    @ColumnInfo(name = "longitude") val longitude: String?,
    @ColumnInfo(name = "address") val detailAddress: String?,
    @ColumnInfo(name = "local_id") val projectLocalID: String?,
    @ColumnInfo(name = "local_name") val projectLocalName: String?,
    @ColumnInfo(name = "function_type") val functionType: String?,
    @ColumnInfo(name = "live_status") val liveStatus: String?,
    @ColumnInfo(name = "user_id") val userId: String?
)