package com.persagy.labsl.models.entities.tpt.pub

import com.persagy.labsl.domain.MarkerPubEntity
import com.persagy.labsl.domain.NodePubEntity
import com.persagy.labsl.domain.RelationPubEntity
import io.swagger.v3.oas.annotations.media.Schema
import java.io.Serializable
import javax.validation.Valid

/**
 * 系统图展示所需数据
 *
 * @author wx
 */
class ElementsPubEntity : Serializable {

    @Schema(description = "图例节点")
    @Valid
    var nodes : ArrayList<NodePubEntity>? = null

    @Schema(description = "文本注释，图上的图片说明")
    var markers : ArrayList<MarkerPubEntity>? = null

    @Schema(description = "管线对象")
    var relations : ArrayList<RelationPubEntity>? = null

} // Class Elements