-
-
Save jezinka/edc50332bfaa02008f8fa2fa7c992be5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DinnerContract extends BaseTable implements BaseColumns { | |
String COLUMN_DATE_NAME; | |
String COLUMN_MEAL_ID; | |
public DinnerContract() { | |
this.TABLE_NAME = "dinner"; | |
this.COLUMN_MEAL_ID = "meal_id"; | |
this.COLUMN_DATE_NAME = "date"; | |
this.SQL_CREATE_ENTRIES = "CREATE TABLE " + TABLE_NAME + " (" + | |
_ID + " INTEGER PRIMARY KEY," + | |
COLUMN_MEAL_ID + " INT, " + | |
COLUMN_DATE_NAME + " INT)"; // System.currentTimeMillis() | |
} | |
public boolean insertDinner(CoNaObiadDbHelper coNaObiadDbHelper, int mealID, Date date) { | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment