add pos device - fix closed quotas pagination
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
from django.db import models
|
||||
from apps.core.models import BaseModel
|
||||
from apps.authentication.models import Organization
|
||||
from django.contrib.postgres.fields import ArrayField
|
||||
from apps.authorization.models import UserRelations
|
||||
from apps.core.models import BaseModel
|
||||
from django.db import models
|
||||
|
||||
|
||||
class ProviderCompany(BaseModel):
|
||||
user_relation = models.ForeignKey(
|
||||
UserRelations,
|
||||
related_name='pos_provider',
|
||||
on_delete=models.CASCADE,
|
||||
null=True
|
||||
)
|
||||
name_fa = models.CharField(max_length=250, null=True)
|
||||
name_en = models.CharField(max_length=250, null=True)
|
||||
activation = models.BooleanField(default=False)
|
||||
|
||||
Reference in New Issue
Block a user