修改:命令配置对象优化
This commit is contained in:
@@ -3,6 +3,7 @@ package com.sdm.pbs.model.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@@ -40,25 +41,34 @@ public class SimulationCommandPlaceholder implements Serializable {
|
||||
@TableField("keyCnName")
|
||||
private String keyCnName;
|
||||
|
||||
@Schema(description = "占位符值的类型(file:共享云盘文件;custom_input:自定义输入)")
|
||||
@Schema(description = "占位符值的类型(file_exact_match:文件完全匹配;file_regex_match:文件正则匹配," +
|
||||
"hpc_file_select:Hpc节点文件选择,hpc_file_regex_match:Hpc节点目录正则,local_file_select:本地文件选择,custom_input:用户自定义输入值")
|
||||
@TableField("valueType")
|
||||
private String valueType;
|
||||
|
||||
@Schema(description = "占位符的值,用户输入后赋值传递")
|
||||
@TableField(exist = false)
|
||||
private String inputValue="";
|
||||
|
||||
@Schema(description = "创建者ID")
|
||||
@TableField("creatorId")
|
||||
@JsonIgnore
|
||||
private Long creatorId;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@TableField(value = "createTime", fill = FieldFill.INSERT)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonIgnore
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "更新者ID")
|
||||
@TableField("updaterId")
|
||||
@JsonIgnore
|
||||
private Long updaterId;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
@TableField(value = "updateTime", fill = FieldFill.INSERT_UPDATE)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonIgnore
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
Reference in New Issue
Block a user