package org.tndata.officehours.database;


import android.provider.BaseColumns;

/**
 * OfficeHours' database contract
 *
 * @author Ismael Alonso
 * @version 1.0.0
 */
class DatabaseContract{
    static abstract class CourseEntry implements BaseColumns{
        static final String TABLE = "Course";

        static final String ID = _ID;
        static final String CLOUD_ID = "cloud_id";
        static final String NAME = "name";
        static final String LOCATION = "location";
        static final String MEETING_TIME = "meeting_time";
        static final String ACCESS_CODE = "access_code";
    }

    static abstract class PersonEntry implements BaseColumns{
        static final String TABLE = "Person";

        static final String ID = _ID;
        static final String CLOUD_ID = "cloud_id";
        static final String COURSE_ID = "course_id";
        static final String NAME = "name";
        static final String AVATAR = "avatar";
        static final String IS_INSTRUCTOR = "is_instructor";
    }
}

@@ -1008,11 +1008,362 @@
 %22;%0A    %7D
+%0A%0A    static abstract class MessageEntry implements BaseColumns%7B%0A        static final String TABLE = %22Message%22;%0A%0A        static final String ID = _ID;%0A        static final String SENDER_ID = %22sender_id%22;%0A        static final String TEXT = %22text%22;%0A        static final String IS_READ = %22read%22;%0A        static final String TIMESTAMP = %22timestamp%22;%0A    %7D
 %0A%7D%0A

Add MessageEntry to the DatabaseContract