hasansezertasan / opinionated-mixins

Opinionated set of mixins. Implemented in Data Classes, Pydantic, SQLAlchemy, SQLModel, MongoEngine, ODMantic, Beanie, and WTForms.
MIT License
2 stars 0 forks source link

Model Proposal: Person #4

Open hasansezertasan opened 4 months ago

hasansezertasan commented 4 months ago

Why do you need this model? What does it solve? Please describe. I proposed User model at #3 but almost every user is also a person and every user has similar properties...

Details

Field Name Python Type Description Unique Required Index
first_name str First name of the person No Yes No
last_name str Last name of the person No Yes No
middle_name str Middle name of the person No No No
phone str Phone number of the person No No No
email str Email address of the person No No No
address str Address of the person No No No
postal_code str Postal code of the person No No No
city str City of the person No No No
country str Country of the person No No No
date_birth date Birth date of the person No No No
description str Description of the person No No No