farmaseftika model va api qoshildi
This commit is contained in:
@@ -6,4 +6,5 @@ from .doctor import *
|
||||
from .pharmacy import *
|
||||
from .plan import *
|
||||
from .location import *
|
||||
from .tour_plan import *
|
||||
from .tour_plan import *
|
||||
from .factory import *
|
||||
|
||||
13
core/apps/shared/models/factory.py
Normal file
13
core/apps/shared/models/factory.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.db import models
|
||||
|
||||
# shared
|
||||
from core.apps.shared.models import BaseModel
|
||||
|
||||
|
||||
class Factory(BaseModel):
|
||||
name = models.CharField(max_length=200)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user