package com.example.cuida.data.model;

import com.google.firebase.firestore.DocumentId;

public class Appointment {

    @DocumentId
    public String id;

    public String type; // e.g. "Medicina Geral", "Cardiologia"
    public String date; // dd/MM/yyyy
    public String time; // HH:mm
    public String reason;
    public boolean isPast;
    public String userId;
    public String status; // "Pendente", "Aceite", "Rejeitada"

    // Required empty constructor for Firestore deserialization
    public Appointment() {
    }

    public Appointment(String type, String date, String time, String reason, boolean isPast, String userId, String status) {
        this.type = type;
        this.date = date;
        this.time = time;
        this.reason = reason;
        this.isPast = isPast;
        this.userId = userId;
        this.status = status;
    }
}
