package cn.reghao.tnb.content.app.data.model.dto;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author reghao
 * @date 2023-02-02 12:55:28
 */
@NoArgsConstructor
@Setter
@Getter
public class ArticlePublishSbt implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank
    private String title;
    @NotBlank
    private String content;
    private String excerpt;
    @Deprecated
    private Long userId;
}
