修改:命令配置对象优化

This commit is contained in:
yangyang01000846
2025-12-03 12:56:35 +08:00
parent 8d8ee2873c
commit 7cbf1a5ecb

View File

@@ -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_selectHpc节点文件选择hpc_file_regex_matchHpc节点目录正则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;
}