Topicos
Topicos
IX
VIII-B Description . . . . . . . . . . . . . . . .
Class diagram
3
4
I N this document, we will present our initial progress on
our project for the Database Topics class. The purpose of
this document is to outline the functional and non-functional
IX-A Diagram . . . . . . . . . . . . . . . . . 4 requirements of the software we will develop throughout
IX-B Description . . . . . . . . . . . . . . . . 4 this course. The software to be presented in this case is an
automotive system that will handle insurance, appointments,
X Physical Diagram 4 spare parts, and car sales.
X-A Diagram . . . . . . . . . . . . . . . . . 4
X-B Description . . . . . . . . . . . . . . . . 4 A. Purpose
The purpose of this software is to distribute requested spare
XI Use Case Diagram 4 parts, schedule appointments, offer insurance to customers,
XI-A Diagram . . . . . . . . . . . . . . . . . 4 and, in general, handle vehicle sales, all registered in the
XI-B Description . . . . . . . . . . . . . . . . 5 database for control and management.
B. Scope • Development Methodologies: An agile methodology,
• Efficiency in Inventory Management: Ensuring an up- such as Scrum, will be adopted for software development,
dated and optimized inventory to guarantee spare parts with regular iterations and reviews.
availability at all times, avoiding losses due to excessive IV. A SSUMPTIONS AND D EPENDENCIES
inventory or out-of-stock situations.
• Insurance Sales: Providing a platform to compare and • Operating System Availability: It is expected that, through
purchase auto insurance, offering detailed information software development, recent versions of the desired
about available options and assisting customers in making operating system will still be predominant in the market.
informed decisions. • Network: The software is planned to have a stable and
• Car Sales: Facilitating the search, viewing, and purchase secure network infrastructure, which is essential for real-
of new and used vehicles, including detailed pricing, time operations.
specifications, and financing options. • Access to Inventory Data: It is assumed that access to a
• Customer Experience: Prioritizing customer satisfaction reliable and up-to-date database of spare parts for vehicles
through effective customer service, technical support, and from different brands and models is available, as this is
seamless purchase processes. essential for enabling parts search and purchase.
• nalytics and Reporting: Collecting and analyzing data • Data Security: It is assumed that robust data security
on user interaction with the platform to gain valuable measures have been implemented to protect users’ confi-
insights into customer behavior, marketing campaign ef- dential information, such as personal and financial data.
fectiveness, and inventory management. • Marketing Strategy: Relying on an effective marketing
strategy to attract users and generate sales.
C. Overview
V. F ORESEEABLE S YSTEM E VOLUTION
This system is being developed to be user-friendly and
easy to use, providing a simple interaction with users and • Mobile and Applications: The development of mobile
maintaining constant updates with the database to prevent data applications could be a natural evolution, allowing users
loss. We will showcase an easy-to-understand interface that to access services more conveniently from their mobile
displays the various established options. devices.
• AI Integration and Automation: The incorporation of ar-
II. G ENERAL D ESCRIPTION tificial intelligence and automation could enhance system
A. Product Perspective efficiency. For example, a chatbot or virtual assistant
The dealership’s program will be software designed to could provide online support to users and assist in spare
facilitate the purchase of vehicle parts and vehicles themselves, parts searches.
among the options mentioned earlier. It will be managed • Expansion of Target Market: In addition to individual
through a database that will be constantly updated. This consumers, the system could target vehicle rental com-
software is open to future design or structural improvements. panies, dealerships, and other market segments.
F. Functional Requierment 6
Notifications and Reminders: It can send email or text
notifications to confirm appointments, provide maintenance
reminders, and track purchase orders.
G. Functional Requierment 7
Data Security: It must ensure the security of users’ personal
and financial data through encryption and strong security
practices.
B. Description
B. Non functional Requierment 2
As we can see, this diagram is masive, non the less its
Security: It must comply with security standards, including comprensible and have an order; We are going to start with
protection against cyberattacks, fraud prevention, and user data the employe, the client and the administrator, all of the can
security. enter the main page of the program, but not everyone can enter
the main menu or the system, for example, the client can only
C. Non functional Requierment 3 see the main page for information, it will not be a program
that can be access from anywhere, it will be only shown for
Scalability: It should be scalable to handle future traffic
make apointments by the employe. The employe can access
and user demand growth.
the login page and access some of the funtions like the stock,
the sales and the insurance, but cant access the modification
D. Non functional Requierment 4 funtions of the program. The admin will have access for every
funtion of the program. Now how the program intract with
Usability: It should be user-friendly with an intuitive inter-
itself, starting from the system, we can interact with the funtion
face for users of all experience levels.
sales, finances, insurances,archive and inventory, Sales only
stores like the names imply, the sales of the department. next
E. Non functional Requierment 5 we have the finances, in it we can store the monthly balance,
Maintainability: It should be easy to maintain and update as well as the income and expenses of the department. Next
with new features and bug fixes. we have the insurance, in the insurance we divide it by two
types of insurance, Normal cover and full cover, like the name
implies, one can only covers minor damages, and the full
F. Non functional Requierment 6
cover aply to the full extent of the damages. Coming over
Regulatory Compliance: It must comply with all local and to the system, we can go to the inventory, it is conected to
national regulations related to vehicle sales, insurance, and supplier, cars and the stock. the inventory have 3 main parts
user data. that divides the spare parts, the front parts, the inside parts,
and the bottom parts. the front parts have nine entities, the
radiator, gear box, alternator, engine, kneecaps, crossheads,
G. Non functional Requierment 7
bateries, exhaus valves and the fuses; all this parts are thigs
Documentation: It should provide detailed documentation that covers the insurance. Next we have the inside parts, it
for end-users and developers, including user manuals and consist of parts that can be change or can malfuntion with
integration guides. the time passing, for example on this category we have seven
parts, the poweder saves, the direction, the steering rod, the X. P HYSICAL D IAGRAM
zipper, the anti-theft mechanism, the locking mechanism and
the steering wheel. And lastly we have the bottom parts, on A. Diagram
this section we have everything related to the weels of the
car, on this section we have eleven entities, fisrt we have the
brakes, tire rims, leaf springs, suspensions, connecting rods,
stabilizer bars, shock absorbers, steering column, torsion bars
and lastly the wheels.
B. Description
XI. U SE C ASE D IAGRAM
Dealership: Represents the dealership itself and contains key
components such as inventory, sales, insurance, finance, and A. Diagram
employees. It is the main entry point for interacting with the
dealership system. Inventory: Manages the availability of cars
and auto parts in the dealership’s inventory. It has methods for
adding and removing cars, managing stock, and listing avail-
able cars and auto parts. Car: Represents an automobile with
attributes such as brand, model, year, price, and engine type.
Stock: Manages the stock of cars in the inventory and allows
for updating the available quantity. User: Represents the users
who interact with the system and manages functions such as
login and registration. Session: Represents active user sessions,
recording the start and end dates of the session. Employees:
Manages information about dealership employees and allows
for adding and removing employees, as well as listing them.
Insurance: Administers the available types of insurance and
calculates the cost of insurance for cars. Sales: Manages car
sales, records sales transactions, and calculates profits. Sale:
Represents a specific car sale with details such as the sold car,
the customer, the sale price, and the date. Finances: Manages
financial transactions and calculates income, expenses, and
profits for the dealership. FinancialTransaction: Represents
a financial transaction with details such as the transaction
type, amount, and date. AutoPart: Represents auto parts with
attributes such as name, price, and quantity in stock. Menu:
Manages a menu with options to interact with the system.
B. Description An object that manages car sales, including sales records
On this side, the use case diagram we’ll se that both, the and profit calculations. Multiple objects of this class can
Admin and the Employee would be able to sign up, and log represent different sales transactions. Sale: Represents a spe-
in. Then when any client for any situation arrives to the store, cific car sale with details like the sold car, customer name,
the employee would be able to show all the stock that the sale price, and sale date. Multiple objects of this class can
client ask for, then if the client want to buy anything from exist for different recorded sales. Finances: An object that
the stock, the employee first need to registry the customer in manages financial transactions, including transaction records
the data base, then the salesman will mark it as sold. Then and financial calculations. Multiple objects of this class can
in the administraror side, he would be able to see and modify represent different financial transactions. FinancialTransaction:
anything from the stock, and see all the sales. Represents a specific financial transaction with attributes like
”type” for the transaction type, ”amount” for the amount,
XII. O BJECT D IAGRAM and ”date” for the transaction date. AutoPart: Represents an
auto part with attributes like ”name,” ”price,” and ”quantity.”
A. Diagram
In the object diagram, you could have objects of this class
representing different available auto parts. Menu: An object
representing the system’s menu with options for interacting
with the system. It can contain attributes like ”options” that
store a list of available options.
B. Description
Dealership: It’s an object representing the dealership itself. B. Description
In this context, it acts as the primary entry point to interact As shown, the activity to be carried out is the purchase of a
with the dealership system. Inventory: An object representing spare part for an automobile. First, the customer requests the
inventory management in the dealership. It contains attributes necessary part, in this case, the brakes. A request is made to the
like ”availableCars,” ”availableAutoParts,” and ”stock,” which system to check the inventory. The required part is searched for
store lists of available cars, available auto parts, and stock in the lower parts section, and the needed spare part is found.
records, respectively. Car: Represents a specific car with Then, the payment details are processed, a bill is generated,
attributes like ”brand,” ”model,” ”year,” ”price,” and ”engine- and the spare part is delivered to the customer.
Type.” In the object diagram, you could have multiple objects
of this class, each representing a different car in the inventory.
XIV. S TATE D IAGRAM
Stock: Represents the stock of a specific car in the inventory,
with attributes ”car” for the associated car and ”quantity” for A. Diagram
the available quantity. Multiple objects of this class can exist
for different cars in stock. User: An object representing a user
interacting with the system. It has attributes like ”username”
and ”password” and is used to manage login and registration
functions. Session: Represents an active user session with
attributes like ”user” for the associated user, ”startDate,” and
”endDate” to record the start and end times of the session.
Employees: An object that contains a list of dealership em-
ployees. It can contain multiple objects of the ”Employee”
class to represent dealership employees. Insurance: Represents
insurance management in the dealership, including available
insurance types. In the object diagram, you could have objects
of this class representing available insurance types. Sales:
B. Description XVI. D EVELOPMENT L OG -S ECOND P ROJECT P ROGRESS
A. Log In
This diagram depicts different states involved in the process
of purchasing a vehicle. We begin with the purchase request,
initiating the vehicle search state. A vehicle is selected,
concluding the vehicle selected state. Alongside this, two
states are entered: model selection and vehicle characteristics
confirmed. With the latter, the vehicle selection along with
its characteristics is completed. It proceeds to the negotiation
state, where insurance is offered. The insurance is contracted,
and we move on to the payment state. Payment is confirmed,
and customer information is gathered. Subsequently, the data
is stored, and the vehicle is delivered to the customer.
For this diagram the activity to be carried out in this case the C. Spare Parts
purchase of a car is described step by step, mainly we need the
author in this case the client who wants to buy a car, after this
the client all the characteristics that his automobile must have
such as the model, color, engine, transmission among other
characteristics, we move on to the negotiation where the final
purchase price is discussed and where insurance is suggested
followed by this when contracting insurance you can select the
type of insurance that If desired or depending on your need,
completed here the purchase is completed and processed to
save the customer’s information and ends with the customer
acquiring their car. -Achievement: Implementation of the spare parts screen
-Description Develop of an interface to show available spare G. Data Base
parts with the integration of the spare parts inventory database.
Including details on compatibility with car models.
D. Car List
E. Car Sale