from django.db import models

# Create your models here.

class Users(models.Model):
    Id = models.AutoField(primary_key = True)
    email = models.CharField(max_length = 30)
    name = models.CharField(max_length = 10)
    surname = models.CharField(max_length = 10)


class Reservation(models.Model):
    Id = models.AutoField(primary_key = True)
    userId = models.ForeignKey(Users, on_delete=models.CASCADE)
    date = models.CharField(max_length = 10)
    time = models.CharField(max_length = 10)
    kort_id = models.IntegerField(default = 0)

class BlackList(models.Model):
    Id = models.AutoField(primary_key = True)
    username = models.CharField(max_length = 30)

a84e653a101d95aa5f41c71d575715e5b74a03bd
<mask token>


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


class BlackList(models.Model):
    Id = models.AutoField(primary_key=True)
    username = models.CharField(max_length=30)

<mask token>


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


class Reservation(models.Model):
    Id = models.AutoField(primary_key=True)
    userId = models.ForeignKey(Users, on_delete=models.CASCADE)
    date = models.CharField(max_length=10)
    time = models.CharField(max_length=10)
    kort_id = models.IntegerField(default=0)


class BlackList(models.Model):
    Id = models.AutoField(primary_key=True)
    username = models.CharField(max_length=30)

<mask token>


class Users(models.Model):
    Id = models.AutoField(primary_key=True)
    email = models.CharField(max_length=30)
    name = models.CharField(max_length=10)
    surname = models.CharField(max_length=10)


class Reservation(models.Model):
    Id = models.AutoField(primary_key=True)
    userId = models.ForeignKey(Users, on_delete=models.CASCADE)
    date = models.CharField(max_length=10)
    time = models.CharField(max_length=10)
    kort_id = models.IntegerField(default=0)


class BlackList(models.Model):
    Id = models.AutoField(primary_key=True)
    username = models.CharField(max_length=30)

from django.db import models


class Users(models.Model):
    Id = models.AutoField(primary_key=True)
    email = models.CharField(max_length=30)
    name = models.CharField(max_length=10)
    surname = models.CharField(max_length=10)


class Reservation(models.Model):
    Id = models.AutoField(primary_key=True)
    userId = models.ForeignKey(Users, on_delete=models.CASCADE)
    date = models.CharField(max_length=10)
    time = models.CharField(max_length=10)
    kort_id = models.IntegerField(default=0)


class BlackList(models.Model):
    Id = models.AutoField(primary_key=True)
    username = models.CharField(max_length=30)

from django.db import models

# Create your models here.

class Users(models.Model):
    Id = models.AutoField(primary_key = True)
    email = models.CharField(max_length = 30)
    name = models.CharField(max_length = 10)
    surname = models.CharField(max_length = 10)


class Reservation(models.Model):
    Id = models.AutoField(primary_key = True)
    userId = models.ForeignKey(Users, on_delete=models.CASCADE)
    date = models.CharField(max_length = 10)
    time = models.CharField(max_length = 10)
    kort_id = models.IntegerField(default = 0)

class BlackList(models.Model):
    Id = models.AutoField(primary_key = True)
    username = models.CharField(max_length = 30)
