SlideShare a Scribd company logo
  
  
  
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 AppMarta Soncodi
 
Resume & Cover Letter Presentation
Resume & Cover Letter PresentationResume & Cover Letter Presentation
Resume & Cover Letter Presentation
Eric Pye
 
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
RidoVercascade
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptx
ssuser5e8d69
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptx
Sumit Kumar
 
Devotee Management System (For Ashrams, Temples)
Devotee Management System (For Ashrams, Temples)Devotee Management System (For Ashrams, Temples)
Devotee Management System (For Ashrams, Temples)
OpenERP4You
 
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?
stefanchauveau
 
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
Vyapin Software Systems Private Limited
 
Web based tourism system
Web based tourism system Web based tourism system
Web based tourism system
Shivangi Singh
 
[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
 
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
EngAbdulkarimOmar
 
Introduction to Database Management Systems
Introduction to Database Management Systems Introduction to Database Management Systems
Introduction to Database Management Systems
Reem Sherif
 
What is a Database?
What is a Database?What is a Database?
What is a Database?
dpittmangravity
 
Salesforce admin training 1
Salesforce admin training 1Salesforce admin training 1
Salesforce admin training 1
HungPham381
 
Information Management
Information ManagementInformation Management
Information Management
EllenGracePorras
 
Tga business services - administrator role presentation
Tga business services - administrator role presentationTga business services - administrator role presentation
Tga business services - administrator role presentation
TGA Australia
 
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...
Evergreen Systems
 
Introductionto databaseenvironments
Introductionto databaseenvironmentsIntroductionto databaseenvironments
Introductionto databaseenvironments
Frank Katta
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systems
smumbahelp
 

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

Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
abdulrafaychaudhry
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 

Recently uploaded (20)

Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 

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.