TASK:机器人、首页、history模块代码;
This commit is contained in:
13
src/main/java/com/ai/da/model/dto/ChatRobotLibraryDTO.java
Normal file
13
src/main/java/com/ai/da/model/dto/ChatRobotLibraryDTO.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ChatRobotLibraryDTO {
|
||||
private Long userId;
|
||||
private Long id;
|
||||
|
||||
private String url;
|
||||
|
||||
private String presignedUrl;
|
||||
}
|
||||
@@ -21,7 +21,7 @@ public class ChatSendDTO {
|
||||
|
||||
@NotNull(message = "userId cannot be empty!")
|
||||
@ApiModelProperty("用户id")
|
||||
private String user_id;
|
||||
private Long user_id;
|
||||
|
||||
@NotBlank(message = "sessionId cannot be empty!")
|
||||
@ApiModelProperty("会话ID")
|
||||
|
||||
@@ -50,4 +50,8 @@ public class DesignCollectionDTO {
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -16,6 +16,10 @@ public class DesignLikeDTO {
|
||||
@ApiModelProperty("like图片对应的designItemId")
|
||||
private Long designItemId;
|
||||
|
||||
@NotNull(message = "designPythonOutfitId id cannot be empty!")
|
||||
@ApiModelProperty("like图片对应的designItemId")
|
||||
private Long designPythonOutfitId;
|
||||
|
||||
@ApiModelProperty("like design到对应collection 对应的userGroupId,不传表示selected collection 为null")
|
||||
private Long userGroupId;
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel("Library编辑")
|
||||
public class LibraryLevel2TypeUpdateDTO {
|
||||
|
||||
@NotEmpty(message = "libraryId cannot be empty!")
|
||||
@ApiModelProperty("libraryId")
|
||||
private Long libraryId;
|
||||
|
||||
@NotBlank(message = "level2Type cannot be empty!")
|
||||
@ApiModelProperty("level2Type")
|
||||
private String level2Type;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user