using Snowflake.Core;

namespace GxPress.Common.Tools
{
    /// <summary>
    /// 雪花算法生成不同的ID
    /// </summary>
    public static class SnowflakeHelper
    {
        public static string MakeSnowflake()
        {
            var worker = new IdWorker(1, 1);
            long id = worker.NextId();
            return id.ToString();
        }
    }
}