package com.cf.imes.framework.id.config;

import com.cf.imes.framework.id.core.util.SnowflakeIdWorker3rd;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * ip自动注册配置
 *
 * @author 晨丰科技
 */
@AutoConfiguration
public class ChenfengIDAutoConfiguration {

    @Bean
    public SnowflakeIdWorker3rd idWorker() {
        return new SnowflakeIdWorker3rd();
    }
}