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

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

@Data
public class Style {

    @SchemaProperty(
        title = "填充颜色",
        description = "节点的填充颜色",
        required = true,
        defaultValue = "#ffffff"
    )
    private String fill;

    @SchemaProperty(
        title = "图标",
        description = "节点的图标",
        required = true,
        defaultValue = "code"
    )
    private String icon;

    @SchemaProperty(
        title = "边框颜色",
        description = "节点的边框颜色",
        required = true,
        defaultValue = "#1890ff"
    )
    private String stroke;

    @SchemaProperty(
        title = "图标颜色",
        description = "节点图标的颜色",
        required = true,
        defaultValue = "#1890ff"
    )
    private String iconColor;

    @SchemaProperty(
        title = "边框宽度",
        description = "节点边框的宽度",
        required = true,
        defaultValue = "2"
    )
    private Integer strokeWidth;
} 