43 lines
1.1 KiB
Java
43 lines
1.1 KiB
Java
package com.olympus.hermione.models;
|
|
|
|
import java.util.List;
|
|
|
|
import org.springframework.data.annotation.Id;
|
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
import org.springframework.data.mongodb.core.mapping.DocumentReference;
|
|
import org.springframework.data.mongodb.core.mapping.Field;
|
|
import org.springframework.data.mongodb.core.mapping.FieldType;
|
|
|
|
import com.olympus.model.Project;
|
|
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
@Document(collection = "scenarios")
|
|
@Getter @Setter
|
|
public class Scenario {
|
|
@Id
|
|
@Field(targetType = FieldType.OBJECT_ID)
|
|
private String id;
|
|
private String name;
|
|
private String description;
|
|
private String hint;
|
|
private String startWithStepId;
|
|
private List<ScenarioStep> steps;
|
|
private List<ScenarioInputs> inputs;
|
|
private String visible;
|
|
private String category;
|
|
|
|
@DocumentReference
|
|
private List<Project> availableForProjects;
|
|
@DocumentReference
|
|
private List<Project> availableForApplications;
|
|
@DocumentReference
|
|
private AiModel aiModel;
|
|
|
|
private boolean useChatMemory=false;
|
|
private String outputType;
|
|
private boolean canvasEnabled=false;
|
|
|
|
}
|