/* * Copyright (C) 2016 Glucosio Foundation * * This file is part of Glucosio. * * Glucosio is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * Glucosio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Glucosio. If not, see <http://www.gnu.org/licenses/>. * * */ package org.glucosio.android.db; import java.util.Date; import io.realm.RealmObject; import io.realm.annotations.PrimaryKey; public class KetoneReading extends RealmObject { @PrimaryKey private long id; private double reading; private Date created; public KetoneReading() { } public KetoneReading(double reading, Date created) { this.reading = reading; this.created = created; } public double getReading() { return reading; } public void setReading(double reading) { this.reading = reading; } public Date getCreated() { return created; } public void setCreated(Date created) { this.created = created; } public long getId() { return id; } public void setId(long id) { this.id = id; } }