添加用户及角色过滤

This commit is contained in:
xie7654
2025-07-03 11:45:32 +08:00
parent 86bc64622f
commit ccb4536b37
11 changed files with 218 additions and 55 deletions

View File

@@ -124,6 +124,7 @@ class Role(CoreModel):
max_length=100,
verbose_name='角色名称'
)
code = models.CharField(max_length=100, blank=True, verbose_name='角色标识')
status = models.IntegerField(
choices=CommonStatus.choices,
default=CommonStatus.ENABLED,