| Total Complexity | 0 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | from django.db import models |
||
| 42 | class PersonEmployment(Audit): |
||
| 43 | |||
| 44 | mypk = models.AutoField(primary_key=True) |
||
| 45 | year = models.IntegerField() |
||
| 46 | salary = models.FloatField() |
||
| 47 | person = models.ForeignKey( |
||
| 48 | Person, |
||
| 49 | blank=True, |
||
| 50 | null=True, |
||
| 51 | on_delete=models.CASCADE |
||
| 52 | ) |
||
| 53 | medical_allowance = models.BooleanField(default=False) |
||
| 54 |