huliguo
2025-08-08 749570394745ae95ee65605eadb42800f42fa20a
src/main/java/com/linghu/model/dto/KeywordDto.java
@@ -8,13 +8,17 @@
import com.linghu.model.entity.Keyword;
import com.linghu.model.entity.Question;
import javax.validation.constraints.NotEmpty;
@EqualsAndHashCode(callSuper = true)
@Data
public class KeywordDto extends Keyword {
    /**
     * 提问词列表,用换行符分隔
     */
    @NotEmpty(message = "提问词不能为空")
    private String questions;
    private List<Question> questionList;
    private List<String> taskIdList;
}