from django.conf import settings
from django.db import models


# Create your models here.
class User(models.Model):
    '''
    An Aigora User is a registered user of Aigora
    '''
    # author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
    first_name = models.CharField(max_length=30)
    last_name = models.CharField(max_length=30)
    user_name = models.CharField(max_length=30)

    def __str__(self):
        return '{} {} ({})'.format(self.first_name, self.last_name, self.user_name)
