class thongso:
    server = 'localhost'
    database = 'db_taphoa'
    username = 'user1'
    password = 'Khongbietphaidatgi'
    driver = 'utf8mb4'
class Config(object):
    #'mysql+pymysql://root:123456@localhost/saledbv1?charset=utf8'
    SQLALCHEMY_DATABASE_URI=str.format(f"mysql+pymysql://{thongso.username}:{thongso.password}@{thongso.server}/{thongso.database}?charset={thongso.driver}")
    SQLALCHEMY_TRACK_MODIFICATIONS = True
    SECRET_KEY = '=xx08_xe2xd6o#$%x0cxadxad'
