using System; using System.Threading.Tasks; using Volo.Abp.DependencyInjection; namespace Win.Abp.SerialNumber { public interface ISerialNumberGenerator: ISingletonDependency { Task InitAsync(DateTime time, string prefix = null); Task CreateAsync(DateTime time,string datetimeFormat = null, string prefix = null, string separator = null, int numberCount = 0, int step = 0 ); Task SetAsync(DateTime time, string prefix = null,int serial=0); } }