import mrkazi livesock excel tablr

This commit is contained in:
2026-02-09 14:45:45 +03:30
parent f13851a30d
commit c02c165ff9
4 changed files with 51 additions and 2 deletions

View File

@@ -103,6 +103,15 @@ class LiveStock(BaseModel):
return super(LiveStock, self).save(*args, **kwargs)
class ExcelLiveStocks(BaseModel):
national_id = models.CharField(max_length=250, null=True)
herd_code = models.CharField(max_length=150, null=True)
species = models.CharField(max_length=250, null=True)
birthdate = models.CharField(max_length=150, null=True)
gender = models.CharField(max_length=150, null=True)
agent_code = models.CharField(max_length=150, null=True)
class TemporaryLiveStock(BaseModel):
rancher = models.ForeignKey(
herd_models.Rancher,