from django.db import models


class Restaurant(models.Model):
    name = models.CharField(max_length=100, null=False, blank=False,
        primary_key=True)
    description = models.TextField(null=True, blank=True)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)

    def __str__(self):
        return self.name

    def save(self, *args, **kwargs):
        super(Restaurant, self).save(*args, **kwargs)

1fd41e44be259d6e04dba347a6a2cf583c780b19
<mask token>


class Restaurant(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Restaurant(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __str__(self):
        return self.name

    def save(self, *args, **kwargs):
        super(Restaurant, self).save(*args, **kwargs)

<mask token>


class Restaurant(models.Model):
    name = models.CharField(max_length=100, null=False, blank=False,
        primary_key=True)
    description = models.TextField(null=True, blank=True)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)

    def __str__(self):
        return self.name

    def save(self, *args, **kwargs):
        super(Restaurant, self).save(*args, **kwargs)

from django.db import models


class Restaurant(models.Model):
    name = models.CharField(max_length=100, null=False, blank=False,
        primary_key=True)
    description = models.TextField(null=True, blank=True)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)

    def __str__(self):
        return self.name

    def save(self, *args, **kwargs):
        super(Restaurant, self).save(*args, **kwargs)
