import uuid
from django.db import models

from base.models import Employee

# Create your models here.

class Alert(models.Model):
    id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
    description = models.CharField(max_length=500)
    status = models.CharField(max_length=50)
    created_at = models.DateTimeField('date published')
    fk_employee = models.ForeignKey(Employee, on_delete=models.CASCADE, blank=True, null=True)