add company app

This commit is contained in:
behruz-dev
2025-08-01 11:07:10 +05:00
parent e8d525ef96
commit 9b403c46da
21 changed files with 190 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
from django.db import models
from django.utils.translation import gettext_lazy as _
from core.apps.shared.models import BaseModel
class Company(BaseModel):
name = models.CharField(max_length=200, unique=True, db_index=True)
def __str__(self):
return self.name
class Meta:
verbose_name = _('Kompaniya')
verbose_name_plural = _("Kompaniyalar")