rentzsch/mogenerator — pull request #94 by protocool (2012-03-08 23:23:36+00:00)
Title: Allow per-entity definition of custom base class

I often use a custom base class to supply general utility routines for my managed objects.

Occasionally those utility routines are specific to a certain subset of my Entities.

This pull request allows you to override the custom base class per-Entity by way of a key/value pair in the Entity userInfo (mogenerator.customBaseClass).

It treats the userInfo-defined custom base class as a 'forced' custom base class for just that Entity, overriding any command line argument for --base-class-force.