package com.greendao.generator;

import java.io.IOException;

import de.greenrobot.daogenerator.DaoGenerator;
import de.greenrobot.daogenerator.Entity;
import de.greenrobot.daogenerator.Schema;

public class MainGenerator {
    public static void main (String [] args) {
        Schema schema = new Schema(1, "com.literacyapp.android.db");

        Entity number = schema.addEntity("Number");

        //It's not neccesary to create a variable called Id
        //Also you can declare autoincrement id and primary key
        number.addIdProperty().autoincrement().primaryKey();
        number.addStringProperty("language");
        number.addIntProperty("value");

        try {
            DaoGenerator dg = new DaoGenerator();
            dg.generateAll(schema, "./app/src/main/java");

        }  catch (Exception e) {
            e.printStackTrace();
        }


    }
}

@@ -30,37 +30,8 @@
 r;%0A%0A
-import java.io.IOException;%0A%0A
 impo
@@ -188,16 +188,17 @@
 rator %7B%0A
+%0A
     publ
@@ -275,19 +275,19 @@
 ema(1, %22
-com
+org
 .literac
@@ -295,18 +295,11 @@
 app.
-android.db
+dao
 %22);%0A
@@ -354,133 +354,8 @@
 r%22);
-%0A%0A        //It's not neccesary to create a variable called Id%0A        //Also you can declare autoincrement id and primary key
 %0A   
@@ -699,18 +699,16 @@
       %7D%0A
-%0A%0A
     %7D%0A%7D%0A

Package name refactoring