|
|
|
@ -1,8 +1,11 @@
|
|
|
|
|
package cn.teammodel.model.dto.ai.comment;
|
|
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 评语接收信息
|
|
|
|
@ -20,13 +23,14 @@ public class ChatCommentsDto {
|
|
|
|
|
/**
|
|
|
|
|
* 评语类型
|
|
|
|
|
*/
|
|
|
|
|
@NotBlank(message = "评语类型不能为空")
|
|
|
|
|
@NotNull
|
|
|
|
|
@ApiModelProperty(value = "评语类型不能为空")
|
|
|
|
|
private String type;
|
|
|
|
|
|
|
|
|
|
@NotBlank(message = "教师学段")
|
|
|
|
|
@ApiModelProperty(value = "教师学段")
|
|
|
|
|
private String period;
|
|
|
|
|
|
|
|
|
|
@NotBlank(message = "教师学科")
|
|
|
|
|
@ApiModelProperty(value = "教师学科")
|
|
|
|
|
private String subject;
|
|
|
|
|
/**
|
|
|
|
|
* 评语重复次数
|
|
|
|
@ -51,6 +55,12 @@ public class ChatCommentsDto {
|
|
|
|
|
* 评语内容
|
|
|
|
|
*/
|
|
|
|
|
private String text;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 限制评语
|
|
|
|
|
*/
|
|
|
|
|
private List<String> limitTexts;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 评语数据
|
|
|
|
|
*/
|
|
|
|
|