资 源 简 介
A simply GAEO model generator but diffirent from official GAEO model generator.
It will get colum informations in all tables in the database and makes new GAEO models, which has properties almost the same as column in table, you may want to modify it later if some properties is wrong.
the model relation will not generate in this action, you have added it by hand. (now only supports sqlite)
here is the example that generating with sqlite.
the datastore has some tables with following sql schema
CREATE TABLE "ally" ("id" INTEGER PRIMARY KEY NOT NULL ,"name" TEXT,"members" INTEGER,"url" TEXT,"time" DATETIME,"score" BIGINT);
CREATE TABLE cities ( cityId INTEGER PRIMARY KEY UNIQUE, citylevel INTEGER, cityname TEXT, user INTEGER, owner TEXT, ally TEXT, island INTEGER, "status" CHAR, "time" INTEGER, "allyId" INTEGER);
type this comman