summaryrefslogtreecommitdiff
path: root/datatypes.py
blob: 9eac1e7cadc02de8c2ecc4ec71175bf15ba7e4e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from flask_login import UserMixin
from . import db

class User(UserMixin):
    email = ""
    password = ""
    name = ""
    id = ""
    def __init__(self, email, password, name):
        self.email = email
        self.password = password
        self.name = name
        self.id = email