package online.wesal.wesal.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;

public class PostLikeRequestDTO {
    
    @NotNull(message = "Post ID is required")
    @Positive(message = "Post ID must be a positive number")
    private Long postId;
    
    public PostLikeRequestDTO() {}
    
    public PostLikeRequestDTO(Long postId) {
        this.postId = postId;
    }
    
    public Long getPostId() {
        return postId;
    }
    
    public void setPostId(Long postId) {
        this.postId = postId;
    }
}