package com.example.myapplication.domain;

public class Comment {
    private long id;
    private String uploaderId;
    private long noteId;
    private String content;
    private String createdAt; // ISO string

    public Comment() {}

    public Comment(long id, String uploaderId, long noteId, String content, String createdAt) {
        this.id = id;
        this.uploaderId = uploaderId;
        this.noteId = noteId;
        this.content = content;
        this.createdAt = createdAt;
    }

    public long getId() { return id; }
    public void setId(long id) { this.id = id; }
    public String getUploaderId() { return uploaderId; }
    public void setUploaderId(String uploaderId) { this.uploaderId = uploaderId; }
    public long getNoteId() { return noteId; }
    public void setNoteId(long noteId) { this.noteId = noteId; }
    public String getContent() { return content; }
    public void setContent(String content) { this.content = content; }
    public String getCreatedAt() { return createdAt; }
    public void setCreatedAt(String createdAt) { this.createdAt = createdAt; }
}