add - new pricing attr system

This commit is contained in:
2025-12-02 09:58:30 +03:30
parent 988e3aa1dd
commit e63c6b9b8d
6 changed files with 52 additions and 12 deletions

View File

@@ -215,6 +215,12 @@ class AttributeValue(BaseModel):
related_name='attribute_values',
null=True
)
org_quota_stat = models.ForeignKey(
'OrganizationQuotaStats',
on_delete=models.CASCADE,
related_name='attribute_values',
null=True
)
attribute = models.ForeignKey(
Attribute,
on_delete=models.CASCADE,
@@ -695,6 +701,12 @@ class QuotaBrokerValue(BaseModel):
related_name="broker_values",
null=True
)
org_quota_stat = models.ForeignKey(
'OrganizationQuotaStats',
on_delete=models.CASCADE,
related_name='broker_values',
null=True
)
broker = models.ForeignKey(
Broker,
on_delete=models.CASCADE,