favoritecontacts.py 509 B

1234567891011
  1. from django.db import models
  2. from tickets.models import Task
  3. class Favoritecontacts(models.Model):
  4. client_id = models.IntegerField(help_text="id")
  5. phone_number = models.CharField(max_length=50,help_text="Номер телефона")
  6. full_name = models.CharField(max_length=100, help_text="Полное ФИО")
  7. class Meta:
  8. db_table = "favoritecontacts"
  9. verbose_name = "Избранные контакты"
  10. verbose_name_plural = "Избранные контакты"