SlideShare a Scribd company logo
1 of 5
Download to read offline
  
  
  
The Church of Jesus Christ of Latter-day Saints 
  
  
  
Development on New Ministering Visit App 
CIS 405 Spring 2018 
  
  
  
  
  
  
  
  
Project Team: 
Jared Kaonohi 
Alger Aranda 
Kay Ng 
USER Table
-lastname[1..1]
-firstname[1..1]
-address[1..1]
-phone[1..1]
-birthdate[1..1]
-age
-member #.*1[1..1]
1.1
Visit Table
-lesson[1..1]
-Service[1..1]
-Visit History
-location
Appointment-DAM
-Read Appointment Table()
-write Appointment Table()
-Read Visit Table()
-Write Visit Table()
User
-change Address()
-Update Age()
-lastname
-firstname
-address
-phone
-birthdate
-/age
Church Leaders
-request Visit History()
-assign_Miniter()
Appointment
+cancel without notice()
-time
-date
-reason
1.1
RDBMS Tables
Data Access
& Management Classes
(DAM)
Problem-domain
class
Household
-request Visit History()
-cancel_Appointment()
schedules
Visit-DAM
-Read Visit Table()
-Write Visit Table()
Account-DAM
-Read Appointment Table()
-write Appointment Table()
-Read Visit Table()
-Write Visit Table()
-Read Account Table()
-Write Account Table()
Appointment Table
-time[1..1]
-date[1..1]
-location[0..1]
-Member #*1
-memberName
Account Table
-login time
-logout time
-memberName
Visit
+cancel without notice()
-time
-date
-reason
Account
+cancel without notice()
-time
-date
-reason
Ministers
-request Visit History()
-setAppointment()
Design Explanations of the Database Layer 
 
Classes and Methods: 
Our database layer contains 4 RDBMS tables, 3 data access and management (DAM) 
classes and 7 problem domain classes.  
 
The 4 tables are: ​User Table, Account Table, Appointment Table​ and ​Visit Table​. 
 
● For the ​User Table​, there are 7 attributes: 
1. lastname​ is a string with up to 20 characters. It is the last name of users. 
2. firstname​ is a string with up to 20 characters. It is the first name of users. 
3. address​ is a string with up to 100 characters. It is the address of users. 
4. phone​ is an integer with 10 numbers. It contains the phone number of 
users. 
5. birthdate​ is an integer with 8 numbers. The format is: MMDDYYYY. It 
contains information of the birthdate of users. 
6. age​ is an integer with 1 to a range between 8 to 120. It represents the age 
of users. 
7. member#​ is an integer with 11 numbers. It is the church membership 
number of users. 
  
● For the​ Account Table​, there are 3 attributes: 
1. membername​ is a string with up to 20 characters. It is the login name of 
users. 
2. logintime​ is an integer with 4 numbers. The format is: hhmm. It contains 
the login time of the users. 
3. logouttime​ is an integer with 4 numbers. The format is: hhmm. It contains 
the logout time of the users. 
  
● For the ​Appointment Table​, there are 4 attributes: 
1. time ​is an integer with 4 numbers. The format is: hhmm. It is the time of 
the ministering appointment. 
2. date​ is an integer with 8 numbers. The format is: MMDDYYYY. It is the date 
of the ministering appointment. 
3. location​ is a string with up to 40 characters. It is the place of ministering. 
4. member#​ is an integer with 11 numbers. It is the church membership 
number of users. 
 
 
● For the​ Visit Table​, there are 4 attributes: 
1. lesson​ is a string with up to 120 characters. It contains the topic, content or 
any notes regarding the ministering. 
2. service​ is a string with up to 120 characters. It represents things that 
household would like ask their ministers to assist with. 
3. visithistory​ is a string with up to 200 characters. It contains the feedback 
or any notes given by the household and ministers. 
4. location​ is a string with up to 40 characters. It contains information of the 
visit location 
 
The 3 DAM classes are: ​Account DAM, Appointment DAM ​and ​Visit DAM​. The methods 
of DAMs are as follows: 
● The ​Account DAM​ reads and writes data of string and integer from the 
Appointment Table, Visit Table and Account Table 
● The ​Appointment DAM​ reads and writes data of string and integer from the 
Appointment Table and Visit Table 
● The ​Visit DAM​ reads and writes data of string and integer from the Visit Table 
 
Under Problem domain class, seven classes are defined namely: ​User​, ​Account​, 
Household​, ​Church Leaders​, ​Ministers, Visit​, and ​Appointment​. ​User ​is the parent of 
Account ​which is the parent of the three subclasses: ​Household​, ​Church Leaders​, and 
Ministers​. The other two classes, ​Visit ​and ​Appointment ​are interconnected to all 
other classes of the problem domain class category. The ​User ​class contains two 
methods, ​change address​ and ​update age​, which are inherited by the child class 
account​, and the other ​three subclasses​ mentioned beforehand.  
 
The two main methods under the parent class ​User, ​ ​change address​ and ​update 
age​, are being inherited by all the child classes which means that each of those 
actors indicated on the design has the capability to update the address of their own 
user account. The ​cancel without notice​ capability, on the other hand, will be granted 
to the three classes, ​household​, ​church leaders​, and ​ministers​. One unique method 
among all other method is the ​assign minister​ which is only granted to ​church 
leaders​. Household, if desired, has the capability to schedule an appointment with 
the other actors [Church Leaders and Ministers] for any church purposes.  
 
Dependency: 
Dependency of tables: 
The user table is the parent of the account table. Also, the account table is the 
parent of both the visit and appointment tables, because the account table is where 
the user’s information will go to create an account on the system. The account table 
will then affect the changes on the visit and appointment table. Appointment table 
will be the parent of the visit table.  
 
Dependency of databases: 
The Appointment database connects with Account, Appointment and Visit tables. 
Then the Appointment database connects to Account, Appointment classes are 
interconnected to the appointment database and its through this database where the 
data will change also the data on the appointment and visit. The Appointment 
database connects to the Appointment and Visit classes. Lastly, the Visit database 
connects the Visit table to Visit class. 
 
Dependency of problem-domain classes: 
The User table will connect with the User class in the problem-domain classes. The 
User class is the parent of Account class, and the Account class is the parent for the 
Household, Ministers and Church Leaders classes. The Household, Ministers and Visit 
class connects to Appointment class.  
 
 
Database Format  
We decided to have our database founded on the relational database management 
system (RDBMS) because that is the only format that we are most familiar to and the 
simplest way for us on to setup the application. Also, our information is not complex, 
in which the data types are mainly going to be text and integers. 
 
 
 

More Related Content

Similar to Ecclesiastical Mobile App Database Model

Toastmasters Secretary App
Toastmasters Secretary AppToastmasters Secretary App
Toastmasters Secretary App
Marta Soncodi
 
[Database assignment is1060]UOL Student Number 090404702.docx
[Database assignment is1060]UOL Student Number 090404702.docx[Database assignment is1060]UOL Student Number 090404702.docx
[Database assignment is1060]UOL Student Number 090404702.docx
danielfoster65629
 

Similar to Ecclesiastical Mobile App Database Model (20)

Toastmasters Secretary App
Toastmasters Secretary AppToastmasters Secretary App
Toastmasters Secretary App
 
Resume & Cover Letter Presentation
Resume & Cover Letter PresentationResume & Cover Letter Presentation
Resume & Cover Letter Presentation
 
week1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.ppt
week1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.pptweek1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.ppt
week1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.ppt
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptx
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptx
 
Devotee Management System (For Ashrams, Temples)
Devotee Management System (For Ashrams, Temples)Devotee Management System (For Ashrams, Temples)
Devotee Management System (For Ashrams, Temples)
 
Databases versus Spreadsheets-do you know where your data is?
Databases versus Spreadsheets-do you know where your data is?Databases versus Spreadsheets-do you know where your data is?
Databases versus Spreadsheets-do you know where your data is?
 
Office 365 Reporting and Licenses Management Tool
Office 365 Reporting and Licenses Management ToolOffice 365 Reporting and Licenses Management Tool
Office 365 Reporting and Licenses Management Tool
 
Web based tourism system
Web based tourism system Web based tourism system
Web based tourism system
 
[Database assignment is1060]UOL Student Number 090404702.docx
[Database assignment is1060]UOL Student Number 090404702.docx[Database assignment is1060]UOL Student Number 090404702.docx
[Database assignment is1060]UOL Student Number 090404702.docx
 
AIS CH5 (Systems Development and Documentation Techniques).pptx
AIS CH5 (Systems Development and Documentation Techniques).pptxAIS CH5 (Systems Development and Documentation Techniques).pptx
AIS CH5 (Systems Development and Documentation Techniques).pptx
 
Introduction to Database Management Systems
Introduction to Database Management Systems Introduction to Database Management Systems
Introduction to Database Management Systems
 
What is a Database?
What is a Database?What is a Database?
What is a Database?
 
Jagadeesh_resume
Jagadeesh_resumeJagadeesh_resume
Jagadeesh_resume
 
Salesforce admin training 1
Salesforce admin training 1Salesforce admin training 1
Salesforce admin training 1
 
Information Management
Information ManagementInformation Management
Information Management
 
Tga business services - administrator role presentation
Tga business services - administrator role presentationTga business services - administrator role presentation
Tga business services - administrator role presentation
 
IT Service Catalog: 5 Steps to Prepare Your Organization for Successful Servi...
IT Service Catalog: 5 Steps to Prepare Your Organization for Successful Servi...IT Service Catalog: 5 Steps to Prepare Your Organization for Successful Servi...
IT Service Catalog: 5 Steps to Prepare Your Organization for Successful Servi...
 
Introductionto databaseenvironments
Introductionto databaseenvironmentsIntroductionto databaseenvironments
Introductionto databaseenvironments
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systems
 

Recently uploaded

Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
drm1699
 

Recently uploaded (20)

Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
 
Encryption Recap: A Refresher on Key Concepts
Encryption Recap: A Refresher on Key ConceptsEncryption Recap: A Refresher on Key Concepts
Encryption Recap: A Refresher on Key Concepts
 
Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...
Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...
Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...
 
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
 
Your Ultimate Web Studio for Streaming Anywhere | Evmux
Your Ultimate Web Studio for Streaming Anywhere | EvmuxYour Ultimate Web Studio for Streaming Anywhere | Evmux
Your Ultimate Web Studio for Streaming Anywhere | Evmux
 
Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024
 
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
Auto Affiliate  AI Earns First Commission in 3 Hours..pdfAuto Affiliate  AI Earns First Commission in 3 Hours..pdf
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdf
 
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
 
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-CloudAlluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
 
Software Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements EngineeringSoftware Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements Engineering
 
Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?
 
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
 
GraphSummit Milan - Visione e roadmap del prodotto Neo4j
GraphSummit Milan - Visione e roadmap del prodotto Neo4jGraphSummit Milan - Visione e roadmap del prodotto Neo4j
GraphSummit Milan - Visione e roadmap del prodotto Neo4j
 
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
 
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdf
 
Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...
Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...
Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024
 

Ecclesiastical Mobile App Database Model

  • 1.          The Church of Jesus Christ of Latter-day Saints           Development on New Ministering Visit App  CIS 405 Spring 2018                          Project Team:  Jared Kaonohi  Alger Aranda  Kay Ng 
  • 2. USER Table -lastname[1..1] -firstname[1..1] -address[1..1] -phone[1..1] -birthdate[1..1] -age -member #.*1[1..1] 1.1 Visit Table -lesson[1..1] -Service[1..1] -Visit History -location Appointment-DAM -Read Appointment Table() -write Appointment Table() -Read Visit Table() -Write Visit Table() User -change Address() -Update Age() -lastname -firstname -address -phone -birthdate -/age Church Leaders -request Visit History() -assign_Miniter() Appointment +cancel without notice() -time -date -reason 1.1 RDBMS Tables Data Access & Management Classes (DAM) Problem-domain class Household -request Visit History() -cancel_Appointment() schedules Visit-DAM -Read Visit Table() -Write Visit Table() Account-DAM -Read Appointment Table() -write Appointment Table() -Read Visit Table() -Write Visit Table() -Read Account Table() -Write Account Table() Appointment Table -time[1..1] -date[1..1] -location[0..1] -Member #*1 -memberName Account Table -login time -logout time -memberName Visit +cancel without notice() -time -date -reason Account +cancel without notice() -time -date -reason Ministers -request Visit History() -setAppointment()
  • 3. Design Explanations of the Database Layer    Classes and Methods:  Our database layer contains 4 RDBMS tables, 3 data access and management (DAM)  classes and 7 problem domain classes.     The 4 tables are: ​User Table, Account Table, Appointment Table​ and ​Visit Table​.    ● For the ​User Table​, there are 7 attributes:  1. lastname​ is a string with up to 20 characters. It is the last name of users.  2. firstname​ is a string with up to 20 characters. It is the first name of users.  3. address​ is a string with up to 100 characters. It is the address of users.  4. phone​ is an integer with 10 numbers. It contains the phone number of  users.  5. birthdate​ is an integer with 8 numbers. The format is: MMDDYYYY. It  contains information of the birthdate of users.  6. age​ is an integer with 1 to a range between 8 to 120. It represents the age  of users.  7. member#​ is an integer with 11 numbers. It is the church membership  number of users.     ● For the​ Account Table​, there are 3 attributes:  1. membername​ is a string with up to 20 characters. It is the login name of  users.  2. logintime​ is an integer with 4 numbers. The format is: hhmm. It contains  the login time of the users.  3. logouttime​ is an integer with 4 numbers. The format is: hhmm. It contains  the logout time of the users.     ● For the ​Appointment Table​, there are 4 attributes:  1. time ​is an integer with 4 numbers. The format is: hhmm. It is the time of  the ministering appointment.  2. date​ is an integer with 8 numbers. The format is: MMDDYYYY. It is the date  of the ministering appointment.  3. location​ is a string with up to 40 characters. It is the place of ministering.  4. member#​ is an integer with 11 numbers. It is the church membership  number of users.     
  • 4. ● For the​ Visit Table​, there are 4 attributes:  1. lesson​ is a string with up to 120 characters. It contains the topic, content or  any notes regarding the ministering.  2. service​ is a string with up to 120 characters. It represents things that  household would like ask their ministers to assist with.  3. visithistory​ is a string with up to 200 characters. It contains the feedback  or any notes given by the household and ministers.  4. location​ is a string with up to 40 characters. It contains information of the  visit location    The 3 DAM classes are: ​Account DAM, Appointment DAM ​and ​Visit DAM​. The methods  of DAMs are as follows:  ● The ​Account DAM​ reads and writes data of string and integer from the  Appointment Table, Visit Table and Account Table  ● The ​Appointment DAM​ reads and writes data of string and integer from the  Appointment Table and Visit Table  ● The ​Visit DAM​ reads and writes data of string and integer from the Visit Table    Under Problem domain class, seven classes are defined namely: ​User​, ​Account​,  Household​, ​Church Leaders​, ​Ministers, Visit​, and ​Appointment​. ​User ​is the parent of  Account ​which is the parent of the three subclasses: ​Household​, ​Church Leaders​, and  Ministers​. The other two classes, ​Visit ​and ​Appointment ​are interconnected to all  other classes of the problem domain class category. The ​User ​class contains two  methods, ​change address​ and ​update age​, which are inherited by the child class  account​, and the other ​three subclasses​ mentioned beforehand.     The two main methods under the parent class ​User, ​ ​change address​ and ​update  age​, are being inherited by all the child classes which means that each of those  actors indicated on the design has the capability to update the address of their own  user account. The ​cancel without notice​ capability, on the other hand, will be granted  to the three classes, ​household​, ​church leaders​, and ​ministers​. One unique method  among all other method is the ​assign minister​ which is only granted to ​church  leaders​. Household, if desired, has the capability to schedule an appointment with  the other actors [Church Leaders and Ministers] for any church purposes.     Dependency:  Dependency of tables:  The user table is the parent of the account table. Also, the account table is the  parent of both the visit and appointment tables, because the account table is where 
  • 5. the user’s information will go to create an account on the system. The account table  will then affect the changes on the visit and appointment table. Appointment table  will be the parent of the visit table.     Dependency of databases:  The Appointment database connects with Account, Appointment and Visit tables.  Then the Appointment database connects to Account, Appointment classes are  interconnected to the appointment database and its through this database where the  data will change also the data on the appointment and visit. The Appointment  database connects to the Appointment and Visit classes. Lastly, the Visit database  connects the Visit table to Visit class.    Dependency of problem-domain classes:  The User table will connect with the User class in the problem-domain classes. The  User class is the parent of Account class, and the Account class is the parent for the  Household, Ministers and Church Leaders classes. The Household, Ministers and Visit  class connects to Appointment class.       Database Format   We decided to have our database founded on the relational database management  system (RDBMS) because that is the only format that we are most familiar to and the  simplest way for us on to setup the application. Also, our information is not complex,  in which the data types are mainly going to be text and integers.