package com.example.sleep.database;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
//声明实体类
@Entity
public class RemindBean
{
    @Id(autoincrement = true)
    private Long id;//主键
    private String time;//time

    @Generated(hash = 1395260710)
    public RemindBean(Long id, String time) {
        this.id = id;
        this.time = time;
    }

    @Generated(hash = 1914622572)
    public RemindBean() {
    }
    //对上述设置的值进行set和get方法
    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTime() {
        return this.time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}