|
|
@ -20,6 +20,7 @@ package com.epmet.dto.form; |
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
|
import javax.validation.constraints.NotEmpty; |
|
|
|
import java.io.Serializable; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
@ -49,7 +50,7 @@ public class DraftContentFromDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 内容列表 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "文章内容不能为空") |
|
|
|
@NotEmpty(message = "文章内容不能为空") |
|
|
|
private List<DraftContentDTO> contentList; |
|
|
|
|
|
|
|
@Data |
|
|
|