add generated autnum class