from django.db   import models

from core.models import TimeStampModel

class User(TimeStampModel):
    name     = models.CharField(max_length=50)
    password = models.CharField(max_length=500)
    email    = models.CharField(max_length=200, unique=True)

    class Meta:
        db_table = 'users'
    
    def __str__(self):
        return self.name