package com.ruoyi.novel.domain;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ChapterDTO {
    @NotNull(message = "章节不能为空")
    private NovelChapter chapter;

    @NotBlank(message = "内容不能为空")
    private String content;
}
