updated models for Bank
This commit is contained in:
parent
31ed9eff8b
commit
c4b16996e3
@ -39,10 +39,14 @@ class Bank(models.Model):
|
||||
on_delete=models.CASCADE)
|
||||
institution = models.ForeignKey(Institution, on_delete=models.CASCADE,
|
||||
related_name="banks")
|
||||
acc_id = models.CharField(max_length=250)
|
||||
nickname = models.CharField(max_length=250)
|
||||
official_name = models.CharField(max_length=250)
|
||||
balance_limit = models.DecimalField(decimal_places=3, max_digits=100, blank=True, null=True)
|
||||
balance = models.DecimalField(decimal_places=3, max_digits=100)
|
||||
ac_type = models.CharField(max_length=250, blank=True)
|
||||
ac_subtype = models.CharField(max_length=250, blank=True)
|
||||
mask = models.CharField(max_length=4,blank=True)
|
||||
|
||||
@property
|
||||
def qid(self):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user