accounts: user create api added

This commit is contained in:
behruz
2025-12-10 19:07:08 +05:00
parent 8ef6505262
commit c56bf6f585
11 changed files with 172 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
# django
from django.db import models
# shared
from core.apps.shared.models import BaseModel
class Role(BaseModel):
name = models.CharField(max_length=200, unique=True, db_index=True)
def __str__(self):
return self.name