| @@ -20,6 +20,7 @@ public class Component implements Serializable { | |||
| /** | |||
| * 主键 | |||
| */ | |||
| @ApiModelProperty(name = "id") | |||
| private Integer id; | |||
| /** | |||
| * 类别ID,数据字典配置 | |||
| @@ -40,6 +41,7 @@ public class Component implements Serializable { | |||
| * 镜像 | |||
| */ | |||
| @JsonProperty("image") | |||
| @ApiModelProperty(name = "image") | |||
| private String images; | |||
| /** | |||
| * 工作目录 | |||
| @@ -49,6 +51,7 @@ public class Component implements Serializable { | |||
| /** | |||
| * 启动命令 | |||
| */ | |||
| @ApiModelProperty(name = "command") | |||
| private String command; | |||
| /** | |||
| * 环境变量 | |||
| @@ -84,6 +87,7 @@ public class Component implements Serializable { | |||
| /** | |||
| * 描述 | |||
| */ | |||
| @ApiModelProperty(name = "description") | |||
| private String description; | |||
| /** | |||
| @@ -117,6 +121,7 @@ public class Component implements Serializable { | |||
| /** | |||
| * 0,失效 1生效 | |||
| */ | |||
| @ApiModelProperty(name = "state") | |||
| private Integer state; | |||
| public Integer getId() { | |||
| @@ -19,6 +19,7 @@ public class ComputingResource implements Serializable { | |||
| /** | |||
| * 主键 | |||
| */ | |||
| @ApiModelProperty(name = "id") | |||
| private Integer id; | |||
| /** | |||
| * 计算资源 | |||
| @@ -28,10 +29,12 @@ public class ComputingResource implements Serializable { | |||
| /** | |||
| * 规格 | |||
| */ | |||
| @ApiModelProperty(name = "standard") | |||
| private String standard; | |||
| /** | |||
| * 描述 | |||
| */ | |||
| @ApiModelProperty(name = "description") | |||
| private String description; | |||
| /** | |||
| * 创建者 | |||
| @@ -59,6 +62,7 @@ public class ComputingResource implements Serializable { | |||
| /** | |||
| * 0,失效 1, 生效 | |||
| */ | |||
| @ApiModelProperty(name = "state") | |||
| private Integer state; | |||
| @@ -16,16 +16,14 @@ import java.io.Serializable; | |||
| @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) | |||
| public class Dataset implements Serializable { | |||
| private static final long serialVersionUID = 918442714458737041L; | |||
| @ApiModelProperty(name = "id") | |||
| private Integer id; | |||
| @ApiModelProperty(name = "name") | |||
| private String name; | |||
| // private String version; | |||
| @ApiModelProperty(name = "description") | |||
| private String description; | |||
| // private String url; | |||
| @ApiModelProperty(name = "data_type") | |||
| private Integer dataType; | |||
| /** | |||
| @@ -51,6 +49,7 @@ public class Dataset implements Serializable { | |||
| /** | |||
| * 0,失效 1生效 | |||
| */ | |||
| @ApiModelProperty(name = "state") | |||
| private Integer state; | |||
| @@ -19,16 +19,19 @@ public class DatasetVersion implements Serializable { | |||
| /** | |||
| * 主键 | |||
| */ | |||
| @ApiModelProperty(name = "id") | |||
| private Integer id; | |||
| @ApiModelProperty(name = "dataset_id") | |||
| private Integer datasetId; | |||
| /** | |||
| * 版本 | |||
| */ | |||
| @ApiModelProperty(name = "version") | |||
| private String version; | |||
| /** | |||
| * 数据集存储地址 | |||
| */ | |||
| @ApiModelProperty(name = "url") | |||
| private String url; | |||
| /** | |||
| * 文件名 | |||
| @@ -48,6 +51,7 @@ public class DatasetVersion implements Serializable { | |||
| /** | |||
| * 状态 | |||
| */ | |||
| @ApiModelProperty(name = "status") | |||
| private Integer status; | |||
| /** | |||
| * 创建者 | |||
| @@ -72,6 +76,7 @@ public class DatasetVersion implements Serializable { | |||
| /** | |||
| * 0失效,1生效 | |||
| */ | |||
| @ApiModelProperty(name = "state") | |||
| private Integer state; | |||
| @@ -20,12 +20,13 @@ import java.util.List; | |||
| * @since 2023-11-07 15:08:22 | |||
| */ | |||
| @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) | |||
| public class Experiment extends BaseEntity implements Serializable { | |||
| public class Experiment implements Serializable { | |||
| private static final long serialVersionUID = 409135817108439880L; | |||
| @TableId | |||
| // @ApiModelProperty(name = "id") | |||
| private Integer id; | |||
| // @ApiModelProperty(name = "name") | |||
| private String name; | |||
| @ApiModelProperty(name = "workflow_id") | |||
| // @ApiModelProperty(name = "workflow_id") | |||
| private Long workflowId; | |||
| /** | |||
| * 全局参数 | |||
| @@ -35,33 +36,28 @@ public class Experiment extends BaseEntity implements Serializable { | |||
| /** | |||
| * 简介 | |||
| */ | |||
| @ApiModelProperty(name = "description") | |||
| private String description; | |||
| /** | |||
| * 创建者 | |||
| */ | |||
| @ApiModelProperty(name = "create_by") | |||
| private String createBy; | |||
| /** | |||
| * 创建时间 | |||
| */ | |||
| @ApiModelProperty(name = "create_time") | |||
| private Date createTime; | |||
| /** | |||
| * 更新者 | |||
| */ | |||
| @ApiModelProperty(name = "update_by") | |||
| private String updateBy; | |||
| /** | |||
| * 更新时间 | |||
| */ | |||
| @ApiModelProperty(name = "update_time") | |||
| private Date updateTime; | |||
| /** | |||
| * 0,失效 1生效 | |||
| */ | |||
| @TableLogic | |||
| private Integer state; | |||
| private List<ExperimentIns> experimentInsList; | |||
| public String getName() { | |||
| @@ -16,7 +16,7 @@ import java.util.Date; | |||
| @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) | |||
| public class ExperimentIns implements Serializable { | |||
| private static final long serialVersionUID = 623464560240790680L; | |||
| @ApiModelProperty(name = "id") | |||
| private Integer id; | |||
| /** | |||
| * 实验ID | |||
| @@ -36,6 +36,7 @@ public class ExperimentIns implements Serializable { | |||
| /** | |||
| * 实例运行状态 | |||
| */ | |||
| @ApiModelProperty(name = "status") | |||
| private String status; | |||
| @ApiModelProperty(name = "nodes_status") | |||
| private String nodesStatus; | |||
| @@ -64,6 +65,7 @@ public class ExperimentIns implements Serializable { | |||
| /** | |||
| * 0,失效 1生效 | |||
| */ | |||
| @ApiModelProperty(name = "state") | |||
| private Integer state; | |||
| public ExperimentIns() { | |||
| @@ -16,17 +16,17 @@ import java.io.Serializable; | |||
| @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) | |||
| public class Models implements Serializable { | |||
| private static final long serialVersionUID = -59896385986032571L; | |||
| @ApiModelProperty(name = "id") | |||
| private Integer id; | |||
| @ApiModelProperty(name = "name") | |||
| private String name; | |||
| // private String version; | |||
| @ApiModelProperty(name = "description") | |||
| private String description; | |||
| // private String url; | |||
| @ApiModelProperty(name = "model_type") | |||
| private Integer modelType; | |||
| /** | |||
| * 创建者 | |||
| @@ -51,6 +51,7 @@ public class Models implements Serializable { | |||
| /** | |||
| * 0,失效 1生效 | |||
| */ | |||
| @ApiModelProperty(name = "state") | |||
| private Integer state; | |||
| @@ -19,16 +19,19 @@ public class ModelsVersion implements Serializable { | |||
| /** | |||
| * 主键 | |||
| */ | |||
| @ApiModelProperty(name = "id") | |||
| private Integer id; | |||
| @ApiModelProperty(name = "models_id") | |||
| private Integer modelsId; | |||
| /** | |||
| * 版本 | |||
| */ | |||
| @ApiModelProperty(name = "version") | |||
| private String version; | |||
| /** | |||
| * 模型存储地址 | |||
| */ | |||
| @ApiModelProperty(name = "url") | |||
| private String url; | |||
| /** | |||
| * 文件名 | |||
| @@ -43,6 +46,7 @@ public class ModelsVersion implements Serializable { | |||
| /** | |||
| * 状态 | |||
| */ | |||
| @ApiModelProperty(name = "status") | |||
| private Integer status; | |||
| /** | |||
| * 创建者 | |||
| @@ -67,6 +71,7 @@ public class ModelsVersion implements Serializable { | |||
| /** | |||
| * 0失效,1生效 | |||
| */ | |||
| @ApiModelProperty(name = "state") | |||
| private Integer state; | |||
| @@ -27,18 +27,22 @@ public class Workflow extends BaseMetaObjectHandler implements Serializable { | |||
| * id | |||
| */ | |||
| @TableId | |||
| @ApiModelProperty(name = "id") | |||
| private Long id; | |||
| /** | |||
| * 工作流名称 | |||
| */ | |||
| @ApiModelProperty(name = "name") | |||
| private String name; | |||
| /** | |||
| * DAG工作流描述 | |||
| */ | |||
| @ApiModelProperty(name = "description") | |||
| private String description; | |||
| /** | |||
| * DAG图 | |||
| */ | |||
| @ApiModelProperty(name = "dag") | |||
| private String dag; | |||
| /** | |||
| * 创建者 | |||
| @@ -63,6 +67,7 @@ public class Workflow extends BaseMetaObjectHandler implements Serializable { | |||
| /** | |||
| * 0,失效 1生效 | |||
| */ | |||
| @ApiModelProperty(name = "state") | |||
| private Integer state; | |||