# -*- encoding: utf-8 -*-
"""
Copyright (c) 2019 - present AppSeed.us
"""

from flask_login import UserMixin
from sqlalchemy import Column, Integer, String

from app import db, login_manager

from app.base.util import hash_pass

class ModelLabels(db.Model):

    __tablename__ = 'model_labels'

    label_id = Column(Integer, primary_key=True, unique=True)
    label_name = Column(String)
    model_id = Column(Integer)

    def __init__(self, **kwargs):
        for property, value in kwargs.items():
            setattr(self, property, value)
        setattr(self, property, value)

    def __repr__(self):
        return str(self.model_id)



