package com.persagy.server.datacenter.models.entities.rel

import com.alibaba.fastjson.annotation.JSONField
import com.persagy.server.datacenter.models.entities.base.RBaseInfo
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.persistence.Table

/**
 * 系统服务于建筑  一对多  一个系统对应多个建筑
 *
 * @author 付国宝
 */
@ApiModel(description = "系统服务于建筑")
@Table(name = "r_sy_for_bd")
class RSyForBdList : RBaseInfo() {

    /** 系统id */
    @ApiModelProperty(value = "系统id")
    @JSONField(name = "SysId")
    var sysId: String? = null

    /** 建筑id列表 */
    @ApiModelProperty(value = "建筑id列表")
    @JSONField(name = "BuildingIdList")
    var buildingIdList: ArrayList<String>? = null

} // Class RSyForBdList