Initial commit for resumeformatter project
This commit is contained in:
0
backend/app/models/__init__.py
Normal file
0
backend/app/models/__init__.py
Normal file
12
backend/app/models/person.py
Normal file
12
backend/app/models/person.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from sqlalchemy import Column, String
|
||||
from app.db.base_class import Base
|
||||
|
||||
|
||||
class Person(Base):
|
||||
"""
|
||||
Database model for a person
|
||||
"""
|
||||
id = Column(String, primary_key=True, index=True)
|
||||
firstName = Column(String, nullable=False)
|
||||
lastName = Column(String, nullable=False)
|
||||
linkedinUrl = Column(String, nullable=False)
|
||||
Reference in New Issue
Block a user