Skip to content

Instantly share code, notes, and snippets.

@nikhilbansal97
Created September 16, 2017 17:28
Show Gist options
  • Save nikhilbansal97/f5d8f12874b586b9dbe76a2f3c6278cd to your computer and use it in GitHub Desktop.
Save nikhilbansal97/f5d8f12874b586b9dbe76a2f3c6278cd to your computer and use it in GitHub Desktop.
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