package com.codenetworkz.blog.dtos;


import com.codenetworkz.blog.models.Post;
import com.codenetworkz.blog.models.Status;

import jakarta.persistence.Lob;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@AllArgsConstructor
public class PostDto {

    private Long postId;
    private String name;
    private String slug;
    @Lob
    private String body;
    private String featuredImage;
    private Status publishedStatus;
    private List<TagDto> selectedTags;
    private List<CategoryDto> selectedCategories;
    private String createdAt;
    private Status activeStatus;
    private Status adminStatus;
    private String auther;

    public PostDto() {

    }
}

