|
|
@@ -1,11 +1,14 @@
|
|
|
package com.yhlxj.dao.model.dto;
|
|
|
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* @author chan
|
|
|
* @date 2024/8/5 16:56
|
|
|
*/
|
|
|
+@Data
|
|
|
public class AlphaSubmitRequestDTO {
|
|
|
|
|
|
private String prompt;
|
|
|
@@ -18,152 +21,21 @@ public class AlphaSubmitRequestDTO {
|
|
|
private String channelId;
|
|
|
private Metadata metadata;
|
|
|
private String eventType;
|
|
|
+ private String jobId;
|
|
|
|
|
|
- // Getters and setters
|
|
|
-
|
|
|
- public String getPrompt() {
|
|
|
- return prompt;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPrompt(String prompt) {
|
|
|
- this.prompt = prompt;
|
|
|
- }
|
|
|
-
|
|
|
- public List<String> getPrompts() {
|
|
|
- return prompts;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPrompts(List<String> prompts) {
|
|
|
- this.prompts = prompts;
|
|
|
- }
|
|
|
-
|
|
|
- public Flags getFlags() {
|
|
|
- return flags;
|
|
|
- }
|
|
|
-
|
|
|
- public void setFlags(Flags flags) {
|
|
|
- this.flags = flags;
|
|
|
- }
|
|
|
-
|
|
|
- public String getJobType() {
|
|
|
- return jobType;
|
|
|
- }
|
|
|
-
|
|
|
- public void setJobType(String jobType) {
|
|
|
- this.jobType = jobType;
|
|
|
- }
|
|
|
-
|
|
|
- public String getId() {
|
|
|
- return id;
|
|
|
- }
|
|
|
-
|
|
|
- public void setId(String id) {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
-
|
|
|
- public int getIndex() {
|
|
|
- return index;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIndex(int index) {
|
|
|
- this.index = index;
|
|
|
- }
|
|
|
-
|
|
|
- public String getRoomId() {
|
|
|
- return roomId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setRoomId(String roomId) {
|
|
|
- this.roomId = roomId;
|
|
|
- }
|
|
|
-
|
|
|
- public String getChannelId() {
|
|
|
- return channelId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setChannelId(String channelId) {
|
|
|
- this.channelId = channelId;
|
|
|
- }
|
|
|
-
|
|
|
- public Metadata getMetadata() {
|
|
|
- return metadata;
|
|
|
- }
|
|
|
-
|
|
|
- public void setMetadata(Metadata metadata) {
|
|
|
- this.metadata = metadata;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- public String getEventType() {
|
|
|
- return eventType;
|
|
|
- }
|
|
|
-
|
|
|
- public void setEventType(String eventType) {
|
|
|
- this.eventType = eventType;
|
|
|
- }
|
|
|
-
|
|
|
+ @Data
|
|
|
public static class Flags {
|
|
|
private String mode;
|
|
|
private boolean isPrivate;
|
|
|
|
|
|
- // Getters and setters
|
|
|
-
|
|
|
- public String getMode() {
|
|
|
- return mode;
|
|
|
- }
|
|
|
-
|
|
|
- public void setMode(String mode) {
|
|
|
- this.mode = mode;
|
|
|
- }
|
|
|
-
|
|
|
- public boolean isPrivate() {
|
|
|
- return isPrivate;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPrivate(boolean isPrivate) {
|
|
|
- this.isPrivate = isPrivate;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
+ @Data
|
|
|
public static class Metadata {
|
|
|
private List<String> imagePrompts;
|
|
|
private List<String> imageReferences;
|
|
|
private List<String> characterReferences;
|
|
|
private boolean autoPrompt;
|
|
|
-
|
|
|
- // Getters and setters
|
|
|
-
|
|
|
- public List<String> getImagePrompts() {
|
|
|
- return imagePrompts;
|
|
|
- }
|
|
|
-
|
|
|
- public void setImagePrompts(List<String> imagePrompts) {
|
|
|
- this.imagePrompts = imagePrompts;
|
|
|
- }
|
|
|
-
|
|
|
- public List<String> getImageReferences() {
|
|
|
- return imageReferences;
|
|
|
- }
|
|
|
-
|
|
|
- public void setImageReferences(List<String> imageReferences) {
|
|
|
- this.imageReferences = imageReferences;
|
|
|
- }
|
|
|
-
|
|
|
- public List<String> getCharacterReferences() {
|
|
|
- return characterReferences;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCharacterReferences(List<String> characterReferences) {
|
|
|
- this.characterReferences = characterReferences;
|
|
|
- }
|
|
|
-
|
|
|
- public boolean isAutoPrompt() {
|
|
|
- return autoPrompt;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAutoPrompt(boolean autoPrompt) {
|
|
|
- this.autoPrompt = autoPrompt;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
}
|