from django.db import models


class Course(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    fees = models.CharField(max_length=30)
    duration = models.CharField(max_length=30)
    description = models.CharField(max_length=30)
    videoUrl = models.FileField()

    def __str__(self):
        return self.name + '' + self.fees


class Faculty(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    salary = models.CharField(max_length=30)
    address = models.CharField(max_length=30)
    description = models.CharField(max_length=30)
    imageUrl = models.CharField(max_length=30)
    videoUrl = models.CharField(max_length=30)

    def __str__(self):
        return self.name + '' + self.fees


class User(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    phone_no = models.CharField(max_length=30)
    city = models.CharField(max_length=30)
    country = models.CharField(max_length=30)
    email = models.CharField(max_length=30)
    birth_date = models.DateField(max_length=30)


class Dronauser(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    phone_no = models.CharField(max_length=30)
    city = models.CharField(max_length=30)
    country = models.CharField(max_length=30)
    email = models.CharField(max_length=30)
    birth_date = models.DateField(max_length=30)
    password = models.CharField(max_length=30)
    token = models.CharField(max_length=30)

    def getPassword(self):
        return self.password

83a5ce83053abd1665d2eea261e64441655ce268
<mask token>


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

    def __str__(self):
        return self.name + '' + self.fees


class User(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    phone_no = models.CharField(max_length=30)
    city = models.CharField(max_length=30)
    country = models.CharField(max_length=30)
    email = models.CharField(max_length=30)
    birth_date = models.DateField(max_length=30)


class Dronauser(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    phone_no = models.CharField(max_length=30)
    city = models.CharField(max_length=30)
    country = models.CharField(max_length=30)
    email = models.CharField(max_length=30)
    birth_date = models.DateField(max_length=30)
    password = models.CharField(max_length=30)
    token = models.CharField(max_length=30)

    def getPassword(self):
        return self.password

<mask token>


class Faculty(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    salary = models.CharField(max_length=30)
    address = models.CharField(max_length=30)
    description = models.CharField(max_length=30)
    imageUrl = models.CharField(max_length=30)
    videoUrl = models.CharField(max_length=30)

    def __str__(self):
        return self.name + '' + self.fees


class User(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    phone_no = models.CharField(max_length=30)
    city = models.CharField(max_length=30)
    country = models.CharField(max_length=30)
    email = models.CharField(max_length=30)
    birth_date = models.DateField(max_length=30)


class Dronauser(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    phone_no = models.CharField(max_length=30)
    city = models.CharField(max_length=30)
    country = models.CharField(max_length=30)
    email = models.CharField(max_length=30)
    birth_date = models.DateField(max_length=30)
    password = models.CharField(max_length=30)
    token = models.CharField(max_length=30)

    def getPassword(self):
        return self.password

<mask token>


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


class Faculty(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    salary = models.CharField(max_length=30)
    address = models.CharField(max_length=30)
    description = models.CharField(max_length=30)
    imageUrl = models.CharField(max_length=30)
    videoUrl = models.CharField(max_length=30)

    def __str__(self):
        return self.name + '' + self.fees


class User(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    phone_no = models.CharField(max_length=30)
    city = models.CharField(max_length=30)
    country = models.CharField(max_length=30)
    email = models.CharField(max_length=30)
    birth_date = models.DateField(max_length=30)


class Dronauser(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    phone_no = models.CharField(max_length=30)
    city = models.CharField(max_length=30)
    country = models.CharField(max_length=30)
    email = models.CharField(max_length=30)
    birth_date = models.DateField(max_length=30)
    password = models.CharField(max_length=30)
    token = models.CharField(max_length=30)

    def getPassword(self):
        return self.password

from django.db import models


class Course(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    fees = models.CharField(max_length=30)
    duration = models.CharField(max_length=30)
    description = models.CharField(max_length=30)
    videoUrl = models.FileField()

    def __str__(self):
        return self.name + '' + self.fees


class Faculty(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    salary = models.CharField(max_length=30)
    address = models.CharField(max_length=30)
    description = models.CharField(max_length=30)
    imageUrl = models.CharField(max_length=30)
    videoUrl = models.CharField(max_length=30)

    def __str__(self):
        return self.name + '' + self.fees


class User(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    phone_no = models.CharField(max_length=30)
    city = models.CharField(max_length=30)
    country = models.CharField(max_length=30)
    email = models.CharField(max_length=30)
    birth_date = models.DateField(max_length=30)


class Dronauser(models.Model):
    Id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=30)
    phone_no = models.CharField(max_length=30)
    city = models.CharField(max_length=30)
    country = models.CharField(max_length=30)
    email = models.CharField(max_length=30)
    birth_date = models.DateField(max_length=30)
    password = models.CharField(max_length=30)
    token = models.CharField(max_length=30)

    def getPassword(self):
        return self.password
