fix
This commit is contained in:
@@ -1 +1,2 @@
|
||||
from .order import *
|
||||
from .order import *
|
||||
from .supplier import *
|
||||
16
core/apps/orders/models/supplier.py
Normal file
16
core/apps/orders/models/supplier.py
Normal 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'
|
||||
Reference in New Issue
Block a user