from django.db import models
from django.contrib.auth.models import User
# Create your models here.


class Profile(models.Model):
    ''' add SID to user model '''
    user = models.OneToOneField(User, on_delete=models.CASCADE)
    sid = models.CharField(max_length=11, blank=True)

    def __str__(self):
        return f'{self.user.username} Profil'
