package com.ys.bdtp.adm.mvvm.model.vo

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.ys.bdtp.adm.mvvm.model.db.entity.BaseEntity
import com.google.gson.JsonElement

/**
 * 对象
 *
 * 建筑, 楼层, 空间, 设备;
 * 墙 , 门 , 窗, 柱, 停车位:
 * @author
 *
 * @param id
 * @param name
 * @param projectId
 * @param buildingId
 * @param floorId
 * @param objType 对象类型
 * @param classCode 对象类型编码
 * @param groupCode 集团编码
 * @param grouping 1 单个对象,2 对象组
 * @param localId 对象位置编码
 * @param localName 对象位置名称
 * @param bimId
 * @param containerId 信息点数据: Json 数据格式
 * @param infos 信息点数据: Json 数据格式
 * @param ts
 * @param valid
 * @param createApp
 * @param updateApp
 * @param creator
 * @param creationTime
 * @param modifier
 * @param modifiedTime
 * @param clientDevice 标识客户端设备
 * @param deliveryState BDTP交付状态: 1 已交付, 0 待交付
 *
 */
data class Object(
    val id: String,
    val name: String,
    val projectId: String,
    val buildingId: String,
    val floorId: String,
    val objType: String,
    val classCode: String,
    val groupCode: String,
    val grouping: Int,
    val localId: String? = "",
    val localName: String? = "",
    val bimId: String? = "",
    val containerId: String? = "",
    val infos: JsonElement? = null,
    val ts: Long = 0L,
    val valid: Int = 1,
    val createApp: String? = "",
    val updateApp: String? = "",
    val creator: String? = "",
    val creationTime: Long? = 0L,
    val modifier: String? = "",
    val modifiedTime: Long = 0L,
    val clientDevice: String? = "",
    val deliveryState: Int? = null
)
