from django.db import models

class employees(models.Model):
    first_name = models.CharField(max_length=20)
    last_name = models.CharField(max_length=20)
    emp_id = models.IntegerField()

    def __str__(self):
        return self.first_name


class user_auth(models.Model):
    user_name = models.CharField(max_length=30)
    password = models.CharField(max_length=30)
    token = models.CharField(max_length=20)

    def __str__(self):
            return self.user_name
