src/main/java/tech/mhuang/ext/springboot/context/SpringBootExtAutoConfiguration.java
/**
     * create generator id.
     *  default used snowflake
     * @return BaseIdeable
     */
create generator id.
default used snowflake
@return BaseIdeable
create generator id . default used snowflake @return BaseIdeable
@Bean
    @ConditionalOnMissingBean
    public BaseIdeable snowflake() {
        return new SnowflakeIdeable();
    }
@ Bean @ ConditionalOnMissingBean public BaseIdeable snowflake ( ) { return new SnowflakeIdeable ( ) ; }
create generator id.
create generator id .