# -*- coding: utf-8 -*-
import time

from django.db import models


class User(models.Model):
    name = models.CharField(max_length=100)
    gender = models.CharField(max_length=1)


class Reservation(models.Model):
    amount = models.IntegerField(default=0)
    created = models.BigIntegerField(default=time.time())
    paid = models.BooleanField(default=False)
    cancelled = models.BooleanField(default=False)
    suspended = models.BooleanField(default=False)
    user = models.ForeignKey(User)

