private void generateModelEnum(TopLevelClass topLevelClass, IntrospectedTable introspectedTable) {
        // 枚举跟随字段走
        for (Field field : topLevelClass.getFields()) {
            if (this.enumColumns.get(field.getName()) != null) {
                InnerEnum innerEnum = this.enumColumns.get(field.getName()).generateEnum(commentGenerator, introspectedTable);
                topLevelClass.addInnerEnum(innerEnum);
            }
        }
    }
private void generateModelEnum(TopLevelClass topLevelClass, IntrospectedTable introspectedTable) {
        
        for (Field field : topLevelClass.getFields()) {
            if (this.enumColumns.get(field.getName()) != null) {
                InnerEnum innerEnum = this.enumColumns.get(field.getName()).generateEnum(commentGenerator, introspectedTable);
                topLevelClass.addInnerEnum(innerEnum);
            }
        }
    }
private void generateModelEnum ( TopLevelClass topLevelClass , IntrospectedTable introspectedTable ) { // 枚举跟随字段走 for ( Field field : topLevelClass . getFields ( ) ) { if ( this . enumColumns . get ( field . getName ( ) ) != null ) { InnerEnum innerEnum = this . enumColumns . get ( field . getName ( ) ) . generateEnum ( commentGenerator , introspectedTable ) ; topLevelClass . addInnerEnum ( innerEnum ) ; } } }
生成对应enum
@param topLevelClass
@param introspectedTable
生成对应enum