| @@ -1,6 +1,7 @@ | |||||
| package com.ruoyi.platform.domain; | package com.ruoyi.platform.domain; | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | import com.fasterxml.jackson.annotation.JsonProperty; | ||||
| import com.fasterxml.jackson.annotation.JsonRawValue; | |||||
| import com.fasterxml.jackson.databind.PropertyNamingStrategy; | import com.fasterxml.jackson.databind.PropertyNamingStrategy; | ||||
| import com.fasterxml.jackson.databind.annotation.JsonNaming; | import com.fasterxml.jackson.databind.annotation.JsonNaming; | ||||
| import io.swagger.annotations.ApiModelProperty; | import io.swagger.annotations.ApiModelProperty; | ||||
| @@ -58,6 +59,7 @@ public class Component implements Serializable { | |||||
| */ | */ | ||||
| @JsonProperty("env_variables") | @JsonProperty("env_variables") | ||||
| @ApiModelProperty(name = "env_variables", value = "环境变量") | @ApiModelProperty(name = "env_variables", value = "环境变量") | ||||
| @JsonRawValue | |||||
| private String envVirables; | private String envVirables; | ||||
| /** | /** | ||||
| * 资源规格 | * 资源规格 | ||||
| @@ -78,12 +80,20 @@ public class Component implements Serializable { | |||||
| * 输入参数 | * 输入参数 | ||||
| */ | */ | ||||
| @ApiModelProperty(name = "in_parameters" ,value = "输入参数") | @ApiModelProperty(name = "in_parameters" ,value = "输入参数") | ||||
| @JsonRawValue | |||||
| private String inParameters; | private String inParameters; | ||||
| /** | /** | ||||
| * 输出参数 | * 输出参数 | ||||
| */ | */ | ||||
| @ApiModelProperty(name = "out_parameters" ,value = "输出参数") | @ApiModelProperty(name = "out_parameters" ,value = "输出参数") | ||||
| @JsonRawValue | |||||
| private String outParameters; | private String outParameters; | ||||
| /** | |||||
| * 可见范围 | |||||
| */ | |||||
| @ApiModelProperty(name = "available_range" ,value = "1公开0私有") | |||||
| private int availableRange; | |||||
| /** | /** | ||||
| * 描述 | * 描述 | ||||
| */ | */ | ||||
| @@ -124,6 +134,8 @@ public class Component implements Serializable { | |||||
| @ApiModelProperty(name = "state" , value = "状态") | @ApiModelProperty(name = "state" , value = "状态") | ||||
| private Integer state; | private Integer state; | ||||
| public Integer getId() { | public Integer getId() { | ||||
| return id; | return id; | ||||
| } | } | ||||
| @@ -228,6 +240,14 @@ public class Component implements Serializable { | |||||
| this.outParameters = outParameters; | this.outParameters = outParameters; | ||||
| } | } | ||||
| public int getAvailableRange() { | |||||
| return availableRange; | |||||
| } | |||||
| public void setAvailableRange(int availableRange) { | |||||
| this.availableRange = availableRange; | |||||
| } | |||||
| public String getDescription() { | public String getDescription() { | ||||
| return description; | return description; | ||||
| } | } | ||||