Enum classes generator for gii