from django.db import models
import uuid


# Create your models here.
class Archives(models.Model):
    id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
    created_at = models.DateTimeField(auto_now_add=True)

    model = models.CharField(max_length=255)
    model_object_id = models.CharField(max_length=525)

    def __str__(self):
        return f"{self.model} - {self.model_object_id}"
