from . import db

class User(db.Model):
  id = db.Column(db.Integer, primary_key=True)
  username = db.Column(db.String(80), unique=True)
  email = db.Column(db.String(120), unique=True)
  image = db.Column(db.String(50))
  fname = db.Column(db.String(40))
  lname = db.Column(db.String(40))
  age = db.Column(db.Integer)
  sex = db.Column(db.String(6))
  highscore = db.Column(db.Integer)
  tdollars = db.Column(db.Integer)#float type?
  datejoined = db.Column(db.DateTime)
  
  def __init__(self, username, email, image, fname, lname, age, sex, date):
    self.username = username
    self.email = email
    self.image = image
    self.fname = fname
    self.lname = lname
    self.age = age
    self.sex = sex
    self.highscore = 0
    self.tdollars = 0
    self.datejoined = date

  def __repr__(self):
    return '<User %r>' % self.username
b5124846cd6b532bfa9803b73b66d622727852bd
<mask token>


class User(db.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, username, email, image, fname, lname, age, sex, date):
        self.username = username
        self.email = email
        self.image = image
        self.fname = fname
        self.lname = lname
        self.age = age
        self.sex = sex
        self.highscore = 0
        self.tdollars = 0
        self.datejoined = date
    <mask token>

<mask token>


class User(db.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, username, email, image, fname, lname, age, sex, date):
        self.username = username
        self.email = email
        self.image = image
        self.fname = fname
        self.lname = lname
        self.age = age
        self.sex = sex
        self.highscore = 0
        self.tdollars = 0
        self.datejoined = date

    def __repr__(self):
        return '<User %r>' % self.username

<mask token>


class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(80), unique=True)
    email = db.Column(db.String(120), unique=True)
    image = db.Column(db.String(50))
    fname = db.Column(db.String(40))
    lname = db.Column(db.String(40))
    age = db.Column(db.Integer)
    sex = db.Column(db.String(6))
    highscore = db.Column(db.Integer)
    tdollars = db.Column(db.Integer)
    datejoined = db.Column(db.DateTime)

    def __init__(self, username, email, image, fname, lname, age, sex, date):
        self.username = username
        self.email = email
        self.image = image
        self.fname = fname
        self.lname = lname
        self.age = age
        self.sex = sex
        self.highscore = 0
        self.tdollars = 0
        self.datejoined = date

    def __repr__(self):
        return '<User %r>' % self.username

from . import db


class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(80), unique=True)
    email = db.Column(db.String(120), unique=True)
    image = db.Column(db.String(50))
    fname = db.Column(db.String(40))
    lname = db.Column(db.String(40))
    age = db.Column(db.Integer)
    sex = db.Column(db.String(6))
    highscore = db.Column(db.Integer)
    tdollars = db.Column(db.Integer)
    datejoined = db.Column(db.DateTime)

    def __init__(self, username, email, image, fname, lname, age, sex, date):
        self.username = username
        self.email = email
        self.image = image
        self.fname = fname
        self.lname = lname
        self.age = age
        self.sex = sex
        self.highscore = 0
        self.tdollars = 0
        self.datejoined = date

    def __repr__(self):
        return '<User %r>' % self.username

from . import db

class User(db.Model):
  id = db.Column(db.Integer, primary_key=True)
  username = db.Column(db.String(80), unique=True)
  email = db.Column(db.String(120), unique=True)
  image = db.Column(db.String(50))
  fname = db.Column(db.String(40))
  lname = db.Column(db.String(40))
  age = db.Column(db.Integer)
  sex = db.Column(db.String(6))
  highscore = db.Column(db.Integer)
  tdollars = db.Column(db.Integer)#float type?
  datejoined = db.Column(db.DateTime)
  
  def __init__(self, username, email, image, fname, lname, age, sex, date):
    self.username = username
    self.email = email
    self.image = image
    self.fname = fname
    self.lname = lname
    self.age = age
    self.sex = sex
    self.highscore = 0
    self.tdollars = 0
    self.datejoined = date

  def __repr__(self):
    return '<User %r>' % self.username