add stake holders type

This commit is contained in:
2025-09-01 16:07:56 +03:30
parent 11786cd2a5
commit 129f4ed7a0
3 changed files with 28 additions and 1 deletions

View File

@@ -256,6 +256,15 @@ class StakeHolders(BaseModel):
related_name='pos_stake_holders',
null=True
)
HOLDER_TYPES = (
('organization', 'ORGANIZATION'),
('company', 'COMPANY'),
)
stake_holder_type = models.CharField(
max_length=150,
choices=HOLDER_TYPES,
default='organization'
)
broker = models.ForeignKey(
Broker,
on_delete=models.CASCADE,