Topicos 1
Topicos 1
G. Functional Requierment 7
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