修改新实训数据结构

This commit is contained in:
joylink_zhangsai 2022-08-09 13:49:16 +08:00
parent 17fbc6ae51
commit 6ba11083eb
3 changed files with 81 additions and 12 deletions

View File

@ -17,6 +17,16 @@ public class Training2 {
*/
private String description;
/**
* 实训类型单操场景
*/
private String type;
/**
* 标签用于检索
*/
private String labelJson;
/**
* 地图定位json
*/
@ -30,12 +40,17 @@ public class Training2 {
/**
* List<Opera> 的json
*/
private String operaListJson;
private String operasJson;
/**
* List<Step2> 的json
*/
private String stepListJson;
private String stepsJson;
/**
* 评分规则json
*/
private String scoringRuleJson;
/**
* 保存数据时的背景
@ -52,16 +67,6 @@ public class Training2 {
*/
private String playerJson;
/**
* 满分
*/
private Integer fullMarks;
/**
* 及格分
*/
private Integer passingMarks;
/**
* 状态
*/

View File

@ -0,0 +1,29 @@
package club.joylink.rtss.vo.client.training2;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.util.Map;
@Getter
@Setter
@NoArgsConstructor
public class ScoringRule {
/**
* 步骤分k-步骤idv-分数
*/
private Map<String, Float> stepScoreMap;
//运营统计
/**
* 满分
*/
private Float fullMarks;
/**
* 及格分
*/
private Float passingMarks;
}

View File

@ -0,0 +1,35 @@
package club.joylink.rtss.vo.client.training2;
import club.joylink.rtss.vo.map.graph.Point;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.util.List;
@Getter
@Setter
@NoArgsConstructor
public class Training2VO {
private Long id;
private Long mapId;
private String name;
private String description;
private Type type;
/**
* 标签列表
*/
private List<String> labels;
private Point mapLocation;
public enum Type {
OPERATION,
SCENE,
}
}