Created
August 29, 2015 17:38
-
-
Save erangaeb/1f5123285d6bcaf9dc28 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
package com.score.myexp.db; | |
import android.provider.BaseColumns; | |
/** | |
* Define Database schemas here(Keep database table attributes) | |
* | |
* @author eranga herath([email protected]) | |
*/ | |
public class ExpenseDbContract { | |
/* Inner class that defines Expense table contents */ | |
public static abstract class Expense implements BaseColumns { | |
public static final String TABLE_NAME = "expense"; | |
public static final String COLUMN_NAME_NAME = "name"; | |
public static final String COLUMN_NAME_AMOUNT = "amount"; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment