from sima_web_api.api import db


class User(db.Model):
    __tablename__ = "User"
    id = db.Column(db.Integer, primary_key=True)
    public_id = db.Column(db.String(50), unique=True)
    name = db.Column(db.String(100))
    dateOfBirth = db.Column(db.DateTime)
    email = db.Column(db.String(50), unique=True)
    password = db.Column(db.String(100))
    displayName = db.Column(db.String(15))
    contactOne = db.Column(db.String(10))
    contactTwo = db.Column(db.String(10))
