package cn.reghao.tnb.search.esapp.blog.model.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author reghao
 * @date 2023-04-18 03:36:02
 */
@NoArgsConstructor
@Setter
@Getter
public class ChannelDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    @NotBlank
    private String name;
    @NotBlank
    private String url;
    @NotBlank
    private String title;
    @NotBlank
    private String content;
    @NotBlank
    private String editor;
}
