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

import com.persagy.labsl.domain.MarkerEntity
import com.persagy.labsl.domain.NodeEntity
import com.persagy.labsl.domain.RelationEntity
import com.persagy.labsl.models.entities.tpt.Markers
import com.persagy.labsl.models.entities.tpt.Node
import com.persagy.labsl.models.entities.tpt.Relation
import io.swagger.v3.oas.annotations.media.Schema
import java.io.Serializable
import javax.validation.Valid

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

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

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

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

} // Class Elements