This commit is contained in:
behruz-dev
2025-09-04 18:33:56 +05:00
parent a56a62acfa
commit fdf0c9808b
11 changed files with 115 additions and 11 deletions

View File

@@ -1 +1,2 @@
from .order import *
from .order import *
from .supplier import *

View File

@@ -0,0 +1,16 @@
from django.db import models
from core.apps.shared.models import BaseModel
class Supplier(BaseModel):
phone = models.CharField(max_length=20)
full_name = models.CharField(max_length=50)
tg_id = models.CharField(max_length=200)
def __str__(self):
return self.full_name
class Meta:
verbose_name = 'yetkazib beruvchi'
verbose_name_plural = 'yetkazib beruvchilar'