DAMHelper / schema.py
enricorampazzo's picture
first commit
8d06b39
raw
history blame
1.78 kB
from typing import TypedDict
class FormFields(TypedDict):
start_date: str
end_date: str
signed_by: str
signature_date: str
community: str
email: str
unit_no: str
contact_number: str
building_name: str
contractor_name: str
contractor_email: str
contractor_contact_number: str
occupant_name: str
civil: str
electrical_AC:str
form_fields_map: FormFields = {"start_date": "From", "end_date": "to", "signed_by": "name-10",
"signature_date": "From--1", "community": "Name-2", "email": "Name-3",
"unit_no": "Name-4", "contact_number": "Name-5", "building_name": "Name-6",
"contractor_name": "Name-7", "contractor_email": "name-8",
"contractor_contact_number": "name-9", "occupant_name":"name-1", "other_work": "name-19",
"civil":"3", "electrical_AC":"10", "furniture_delivery":"14", "handyman":"18",
"pest_control": "21", "sail_shade":"12", "wardrobes":"16", "wooden_flooring":"24",
"plumbing_sanitary":"4","safety systems":"4", "soft_landscaping":"9",
"balcony_tiles":"13", "bathroom_toilet_refurbish":"20",
"staircase_railing":"17", "storage_box":"11", "tiling_works":"15",
"doors_door_frames":"6", "gypsum_ceiling":"22", "kitchen_refurbish":"7",
"lights_and_sockets":"23", "painting_wallpapering":"19",
"seating_area_barbecuing_fountain":"8",
"other_work_checkbox": "69", "owner":"Check Box4", "tenant":"Check Box3"}