Created
September 16, 2017 17:28
-
-
Save nikhilbansal97/f5d8f12874b586b9dbe76a2f3c6278cd 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
package com.example.nikhil.schematiclibrary.provider; | |
import net.simonvt.schematic.annotation.Database; | |
import net.simonvt.schematic.annotation.Table; | |
/** | |
* THis is the database class. It is used to define the tables in database and database version. | |
*/ | |
@Database(version = DatabaseClass.VERSION) | |
public class DatabaseClass { | |
public static final int VERSION = 1; | |
@Table(ContractClass.class) | |
public static final String CONTRACT_TABLE = "contract_table"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment