fix - pos sharing on agc bug fixed influently
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from django.db import models
|
||||
|
||||
from apps.authentication import models as auth_models
|
||||
from apps.authentication.models import Organization
|
||||
from apps.core.models import BaseModel
|
||||
|
||||
|
||||
@@ -82,6 +83,13 @@ class Herd(BaseModel):
|
||||
|
||||
|
||||
class Rancher(BaseModel):
|
||||
organization = models.ForeignKey(
|
||||
Organization,
|
||||
on_delete=models.CASCADE,
|
||||
related_name='ranchers',
|
||||
null=True,
|
||||
help_text="connect ranchers to their specific Taavoni" # noqa
|
||||
)
|
||||
ranching_farm = models.CharField(max_length=150, null=True)
|
||||
union_name = models.CharField(max_length=50, null=True, blank=True)
|
||||
union_code = models.CharField(max_length=50, null=True, blank=True)
|
||||
|
||||
Reference in New Issue
Block a user