feat:提供流水号生成能力
This commit is contained in:
parent
111b7f68e8
commit
a68ac80b4d
@ -1,7 +1,7 @@
|
||||
package com.flyfish.framework.annotations;
|
||||
|
||||
import com.flyfish.framework.generation.CodeRuleStrategy;
|
||||
import com.flyfish.framework.generation.CodeRules;
|
||||
import com.flyfish.framework.generation.strategy.UUIDCodeRuleStrategy;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
@ -19,5 +19,5 @@ public @interface CodeRule {
|
||||
*
|
||||
* @return 结果
|
||||
*/
|
||||
Class<? extends CodeRuleStrategy> value() default CodeRules.UUID;
|
||||
Class<? extends CodeRuleStrategy> value() default UUIDCodeRuleStrategy.class;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user