Created
January 2, 2018 11:35
-
-
Save alfianyusufabdullah/6d31b9f0d930ecca68cba41954c5f1de to your computer and use it in GitHub Desktop.
database config
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
| /** | |
| * Created by jonesrandom on 12/31/17. | |
| * | |
| * @site www.androidexample.web.id | |
| * @github @alfianyusufabdullah | |
| */ | |
| public class DatabaseConfig { | |
| public static final String DATABASE_NAME = "Database"; | |
| public static final int DATABASE_VERSION = 1; | |
| public static final String TABEL_NAME = "TabelMahasiswa"; | |
| public static final String COL_ID = "Id"; | |
| public static final String COL_NAMA_MAHASISWA = "Nama"; | |
| public static final String COL_NIM_MAHASISWA = "Nim"; | |
| public static final String COL_SEMESTER_MAHASISWA = "Semester"; | |
| public static final int INDEX_COL_ID = 0; | |
| public static final int INDEX_COL_NAMA = 1; | |
| public static final int INDEX_COL_NIM = 2; | |
| public static final int INDEX_COL_SEMESTER = 3; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment