package net.northking.cctp.scriptcase.api.scenescript.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.util.List;
import java.util.Map;

@Data
@ApiModel(description = "场景脚本对象")
public class SceneScript {
    @ApiModelProperty("场景脚本Id")
    @Size(max = 32, message="场景脚本Id: 数据长度不能 > 32" )
    public String id;
    @ApiModelProperty("场景脚本名称")
    @Size(max = 30, message="场景脚本名称: 数据长度不能 > 30" )
    public String name;
    @ApiModelProperty("场景描述")
    public String description;
    @ApiModelProperty("场景解析引擎版本")
    public String engineVersion;
    @ApiModelProperty("使用默认值")
    public Boolean useDefaultValue;
    @ApiModelProperty("场景脚本全局变量")
    public Map<String, String> globalSetting;
    @ApiModelProperty("场景脚本变量")
    public List<Variable> Variables;
    @ApiModelProperty("场景脚本节点")
    public List<Node> nodes;
    @ApiModelProperty("场景脚本连接线")
    public List<Line> lines;
}
