initial commit

This commit is contained in:
2024-12-30 15:31:47 +01:00
parent fd882e5ebb
commit 14f9af54ef
45 changed files with 3590 additions and 6 deletions

21
class/db/user.py Normal file
View File

@@ -0,0 +1,21 @@
from sqlalchemy import create_engine, Column, Integer, String, engine
from sqlalchemy.orm import declarative_base, sessionmaker
import database
class User():
__db: engine
__base: declarative_base
def __init__(self, database:database):
self.__db = database.get()
self.__base = declarative_base()
return
def createUser(self, username, email, password):
return ""
def removeUser(self, username):
return ""
def getUserData(self, username):
return ""
def login(self, username, password):
return ""
def logout(self):
return ""