add Group SQLAlchemy ORM model

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-05-30 23:05:16 -07:00
parent e1ab02c2bf
commit b692b11f62
2 changed files with 32 additions and 0 deletions

11
aurweb/models/group.py Normal file
View file

@ -0,0 +1,11 @@
from sqlalchemy.orm import mapper
from aurweb.schema import Groups
class Group:
def __init__(self, Name: str = None):
self.Name = Name
mapper(Group, Groups)