Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Attachment(models.Model):
- """Прикрепление"""
- recording_time = models.DateTimeField('Время записи', blank=False, null=True)
- pacient = models.ForeignKey(Patient, verbose_name='Пациент', on_delete=models.CASCADE)
- polyclinic = models.ForeignKey(Polyclinic, verbose_name='Поликлиника', on_delete=models.CASCADE)
- confirmation_polyclynic = models.BooleanField('Подтверждение поликлиники', default=False)
- confirmation_pacient = models.BooleanField('Подтверждение пациента', default=False)
- class Meta:
- db_table= 'attachment'
- verbose_name = 'Запрос на прикрепление'
- verbose_name_plural = 'Запросы на прикрепления'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement