diff options
author | Andrea Lepori <aleporia@gmail.com> | 2023-07-24 12:53:03 +0200 |
---|---|---|
committer | Andrea Lepori <aleporia@gmail.com> | 2023-07-24 12:53:03 +0200 |
commit | 411c4035784b0294794b8bb34dce974f799e0757 (patch) | |
tree | e50829cdf1dc27e4a2c6fca3ed54c071c36e58cc /client/models.py | |
parent | add doc table link (diff) | |
download | scout-subs-411c4035784b0294794b8bb34dce974f799e0757.tar.gz scout-subs-411c4035784b0294794b8bb34dce974f799e0757.zip |
usercode with all personal data
Diffstat (limited to 'client/models.py')
-rw-r--r-- | client/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/models.py b/client/models.py index 20c8fa1..c9fe42f 100644 --- a/client/models.py +++ b/client/models.py @@ -108,6 +108,10 @@ class UserCode(models.Model): user = models.ForeignKey(User, default=None, on_delete=models.CASCADE)
medic = models.ForeignKey(MedicalData, default=None, on_delete=models.PROTECT)
code = models.IntegerField(default=0)
+ branca = models.ForeignKey(Group, default=0, on_delete=models.PROTECT)
+ first_name = models.CharField(default="", max_length=250)
+ last_name = models.CharField(default="", max_length=250)
+ email = models.CharField(default="", max_length=250)
parent_name = models.CharField(default="", max_length=250)
via = models.CharField(default="", max_length=250)
cap = models.CharField(default="", max_length=250)
|