Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Entity questGameCompleted = schema.addEntity("QuestGameCompleted");
- questGameCompleted.implementsSerializable();
- questGameCompleted.setTableName("quest_game_completed");
- Property questGameCompletedGameId = questGameCompleted.addLongProperty("questGameId").columnName("quest_game_id").notNull().primaryKey().getProperty();
- Property questGameCompletedQuestId = questGameCompleted.addLongProperty("questId").columnName("quest_id").notNull().getProperty();
- questGameCompleted.addIntProperty("basicPoints").columnName("basic_points").notNull();
- questGameCompleted.addIntProperty("bonusPoints").columnName("bonus_points").notNull();
- questGameCompleted.addIntProperty("tasksSkipped").columnName("tasks_skipped");
- questGameCompleted.addStringProperty("progress").columnName("progress");
- Entity questCompleted = schema.addEntity("QuestCompleted");
- questCompleted.implementsSerializable();
- questCompleted.setTableName("quest_completed");
- Property questCompletedQuestId = questCompleted.addLongProperty("questId").columnName("quest_id").notNull().primaryKey().getProperty();
- questCompleted.addLongProperty("timeFinished").columnName("time_finished");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement