accounts: role create and list apis add
This commit is contained in:
@@ -7,6 +7,7 @@ from core.apps.shared.models import BaseModel
|
||||
|
||||
class Role(BaseModel):
|
||||
name = models.CharField(max_length=200, unique=True, db_index=True)
|
||||
comment = models.TextField(null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
Reference in New Issue
Block a user