preferreddrivers.py 433 B

12345678910
  1. from django.db import models
  2. from tickets.models import Task
  3. class Preferreddrivers(models.Model):
  4. client_id = models.IntegerField(help_text="Client id")
  5. provider_id = models.IntegerField(help_text="Provider id")
  6. class Meta:
  7. db_table = "Prefereddrivers"
  8. verbose_name = "Предпочтительные водители"
  9. verbose_name_plural = "Предпочтительные водители"