package com.example.cuida.data.model;

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

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

    public String name;
    public String time; // HH:mm
    public String dosage; // e.g. "1 compprimido"
    public String notes;
    public boolean isTaken;

    public Medication(String name, String time, String dosage, String notes) {
        this.name = name;
        this.time = time;
        this.dosage = dosage;
        this.notes = notes;
        this.isTaken = false;
    }
}
