| 5 | |
| 6 | Мапирачка трансформација |
| 7 | |
| 8 | Ознаки: |
| 9 | Bold - not null |
| 10 | Underline - primary key |
| 11 | * foreign key |
| 12 | |
| 13 | === Ентитети |
| 14 | |
| 15 | User (id_user, date_created_user, name_user, email_user, password_user, telephone_user) |
| 16 | |
| 17 | Adopter (id_user*(user), free_time, funds, has_other_pets, has_kids, housing, physical_activity_adopters, will_foster, is_verified) |
| 18 | |
| 19 | Surendee (id_user*(user)) |
| 20 | |
| 21 | Employee (id_user*(user), position) |
| 22 | |
| 23 | Admin (id_user*(user)) |
| 24 | |
| 25 | Donor (id_user*(user), is_from_organisation) |
| 26 | |
| 27 | Organization (id_organisation, name_organisation, email_organisation, billing_information) |
| 28 | |
| 29 | Shelter (id_shelter, address_shelter, telephone_shelter) |
| 30 | |
| 31 | Post (id_post, date_post, url_thumbanail) |
| 32 | * ограничување: Post мора да биде во точно една од релациите surrendees_publishes_and_manages_posts или employee_publishes_and_manages_post, не смее да не биде во ниту една или пак во двете |
| 33 | |
| 34 | Adoption (id_adoption, start_date, end_date_foster) |
| 35 | |
| 36 | Pet (id_pet, url_pet_image, age_group, size, breed, name_pet, species, gender, can_be_fostered) |
| 37 | |
| 38 | Category (id_category, name_category) |
| 39 | |
| 40 | Food (id_food, manufacturer, name_food, type) |
| 41 | |
| 42 | Therapy (id_therapy, health_problem, start_date, end_date) |
| 43 | |
| 44 | VetClinic (Id_vet_clinic, thelephone_vet_clinic, address_vet_clinic) |
| 45 | |
| 46 | |
| 47 | === Слаби Ентитети |
| 48 | |
| 49 | |
| 50 | === М-М Релации |
| 51 | |