There is a file
common.py that contains the common properties for all models.
bool) – Return the created_at property as a datetime object.
bool) – Return the last_login property as a datetime object.
Also a class
DefaultModel that can be used to define a default model, with a
configuration that allow:
allow_population_by_field_name– Allow population by field name. default:
alias_generator– this one based on a Function, called
convert_field_to_camel_casethat converts a field name to a camel case. default:
Check the pydantic documentation for more information.