package com.qqchen.deploy.backend.workflow.dto.definition.node.uiVariables;

import com.qqchen.deploy.backend.workflow.annotation.SchemaProperty;
import lombok.Data;

@Data
public class Port {

    @SchemaProperty(
        title = "端口属性",
        description = "端口的样式属性",
        required = true
    )
    private Attrs attrs;

    @SchemaProperty(
        title = "端口位置",
        description = "端口在节点上的位置",
        required = true,
        enumValues = {"left", "right", "top", "bottom"},
        enumNames = {"左侧", "右侧", "顶部", "底部"}
    )
    private String position;
} 