Code clean up. More changes to membership tables, views, routes, methods, and models renamed.

This commit is contained in:
Scott Idem
2022-01-11 16:24:01 -05:00
parent 8953fc32d8
commit 163e57ef76
8 changed files with 452 additions and 529 deletions

View File

@@ -136,27 +136,36 @@ class Membership_Person_Base(BaseModel):
alias = 'cfg',
)
membership_group: Optional[Membership_Group_Base] # The primary membership group option they currently have
membership_group_list: Optional[list] = Field(
# alias = 'group_list',
) # Membership_Group_Base() The group information for all the membership groups they are a part of
# membership_person_group: Optional[Membership_Person_Group_Base] # The group person information for the primary membership group they currently have
membership_person_group_list: Optional[list] = Field(
# alias = 'group_person_list',
) # Membership_Group_Base() The group person information for all the membership groups they are a part of
# membership_person_group: Optional[Membership_Person_Group_Base] # Not currently used
membership_person_group_list: Optional[list[Membership_Person_Group_Base]] # The list of membership group information the person has
membership_person_profile: Optional[Membership_Person_Profile_Base]
membership_person_type: Optional[Membership_Person_Type_Base] # The membership type information for the primary membership type the person has
# membership_person_type_list: Optional[list[Membership_Person_Type_Base]] # Not currently used
membership_person_profile: Optional[Membership_Person_Profile_Base] = Field(
alias = 'profile',
)
membership_group: Optional[Membership_Group_Base]
membership_group_list: Optional[list[Membership_Group_Base]]
membership_type: Optional[Membership_Type_Base] # The primary membership type option they currently have
membership_type_list: Optional[list[Membership_Type_Base]]
# membership_group_list: Optional[list] = Field(
# # alias = 'group_list',
# ) # Membership_Group_Base() The group information for all the membership groups they are a part of
# membership_person_group: Optional[Membership_Person_Group_Base] # The group person information for the primary membership group they currently have
# membership_person_group_list: Optional[list] = Field(
# # alias = 'group_person_list',
# ) # Membership_Group_Base() The group person information for all the membership groups they are a part of
# = Field(
# alias = 'profile',
# )
# = Field(
# alias = 'extended_membership_person_profile',
# )
membership_type: Optional[Membership_Type_Base] # The primary membership type option they currently have
membership_type_list: Optional[list] = Field(
# alias = 'type_list',
) # Membership_Type_Base() The type information for all the membership types they are a part of
membership_person_type: Optional[Membership_Person_Type_Base] # The type person information for the primary membership type they currently have
# membership_type_list: Optional[list] = Field(
# # alias = 'type_list',
# ) # Membership_Type_Base() The type information for all the membership types they are a part of
# membership_person_type_list: Optional[list] = Field(
# alias = 'type_person_list',
# ) # Membership_Person_Type_Base() The type person information for all the membership types they are a part of