You are on page 1of 2

 db_customer

Column Name Data type Size Nullable Primary Key Foreign Key
Customer_id VARCHAR 255 NO YES
name VARCHAR 255 NO NO
address VARCHAR 255 NO NO
Contact_number VARCHAR 255 NO NO

 db_staff

Column Name Data type Size Nullable Primary Key Foreign Key
Staff_id VARCHAR 255 NO YES
name VARCHAR 255 NO NO

 db_skill_list

Column Name Data type Size Nullable Primary Key Foreign Key
Skill_id NUMBER 10 NO YES
name VARCHAR 255 NO NO
fare FLOAT 10 NO NO

 db_staff_skill

Column Name Data type Size Nullable Primary Key Foreign Key
Skill_id NUMBER 10 NO NO YES
Staff_id VARCHER 255 NO NO YES

 db_insurance_policy_provider

Column Name Data type Size Nullable Primary Key Foreign Key
Policy_provider_id NUMBER 10 NO YES
name VARCHAR 255 NO NO

 db_insurance_type

Column Name Data type Size Nullable Primary Key Foreign Key
Insurance_type_id NUMBER 10 NO YES
name VARCHAR 255 NO NO
Policy_provider_id NUMBER 10 NO YES

 db_contract

Column Name Data type Size Nullable Primary Key Foreign Key
Contract_id NUMBER 10 NO YES
Due_date DATE YES
Start_date DATE YES
end_date DATE YES
customer_id VARCHAR 255 YES YES
insurance_type_id NUMBER 10 NO YES

 db_services

Column Name Data type Size Nullable Primary Key Foreign Key
Service_id NUMBER 10 NO YES
name VARCHAR 255 NO NO

 db_component

Column Name Data type Size Nullable Primary Key Foreign Key
Component_id NUMBER 10 NO YES
name VARCHAR 255 NO NO
service_id NUMBER 10 NO YES

 db_component_contract_type

Column Name Data type Size Nullable Primary Key Foreign Key
Component_contract_type_id NUMBER 10 NO YES
name VARCHAR 255 NO
Component_id NUMBER 10 NO YES

 db_skill_list_service

Column Name Data type Size Nullable Primary Key Foreign Key
service_id NUMBER 10 NO YES
skill_id NUMBER 10 NO YES
No_of_staff NUMBER 10 NO NO

 db_contract_service

Column Name Data type Size Nullable Primary Key Foreign Key
Contract_id NUMBER 10 NO YES
service_id NUMBER 10 NO YES

You might also like