gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s

This commit is contained in:
2026-04-15 08:59:36 +02:00
commit ab73d05ecc
359 changed files with 14415 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
"""
Courier model
"""
from django.db import models
from core.http.models import base
from core.http.models.user import User
class Courier(base.AbstractBaseModel):
user_id = models.ForeignKey(
to=User, on_delete=models.CASCADE, related_name="couriers"
)
def __str__(self):
return f"Courier - {self.user_id}"
class Meta:
verbose_name = "Courier"
verbose_name_plural = "Couriers"
db_table = "courier"