feat:提供流水号生成能力

This commit is contained in:
wangyu 2022-01-07 16:27:31 +08:00
parent 111b7f68e8
commit a68ac80b4d

View File

@ -1,7 +1,7 @@
package com.flyfish.framework.annotations; package com.flyfish.framework.annotations;
import com.flyfish.framework.generation.CodeRuleStrategy; import com.flyfish.framework.generation.CodeRuleStrategy;
import com.flyfish.framework.generation.CodeRules; import com.flyfish.framework.generation.strategy.UUIDCodeRuleStrategy;
import java.lang.annotation.*; import java.lang.annotation.*;
@ -19,5 +19,5 @@ public @interface CodeRule {
* *
* @return 结果 * @return 结果
*/ */
Class<? extends CodeRuleStrategy> value() default CodeRules.UUID; Class<? extends CodeRuleStrategy> value() default UUIDCodeRuleStrategy.class;
} }