aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/hydrorollcore/rule.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrorollcore/rule.py')
-rw-r--r--src/hydrorollcore/rule.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hydrorollcore/rule.py b/src/hydrorollcore/rule.py
index a7e5d9a7..a1b07cb9 100644
--- a/src/hydrorollcore/rule.py
+++ b/src/hydrorollcore/rule.py
@@ -16,6 +16,9 @@ class RuleLoadType(Enum):
class Rule(metaclass=ABCMeta):
"""规则基类"""
+ name: str
+ priority: int = 0
+
@abstractmethod
def __init__(self):
raise NotImplementedError