from django.db import models

# Create your models here.

class Notifications(models.Model):
    id : models.AutoField(primary_key=True)
    title = models.CharField(max_length=255, blank=False, null=False)
    body = models.CharField(max_length=255, blank=False, null=False)
    send_to_type = ((2, 'Customer'), (3, 'Driver'))
    send_to = models.IntegerField(default=0, choices=send_to_type)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now_add=True)
    
