package com.example.cuida.data.model;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "appointments")
public class Appointment {
    @PrimaryKey(autoGenerate = true)
    public int id;

    public String type; // e.g. "Medicina Geral", "Cardiologia"
    public String date; // dd/MM/yyyy
    public String time; // HH:mm
    public boolean isPast;

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