package net.shyshkin.study.fullstack.supportportal.backend.domain.dto;



import java.util.List;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder


public class PostDto {

    @NotNull
    private String title;

    @NotNull
    private String content;

    @NotEmpty(message = "At least one professor must be selected.")
    private List<Long> professors;

    private List<String> tags;
    private boolean posted;

    // Getters and setters
    // ...
}
