You are on page 1of 7

Software Engineering

Sale

Payment

Paid by4

-date
-time

-amount
1

1
1..*
Item
-id
-description
-price

Sold4
1 0..*

Sales Line Item

Cash Payment

Card Payment

-quantity

-cash tendered

-card number
-expiry date
-name
-type

Data Modeling (contd.)


Prof. Narsi Bolloju
LNMIIT

Topics for today


How to identify attributes of various
classes in the domain model

Multiplex Domain Model


Sprint 1

What is an Attribute?
Objects
Class
Attribute Values

:Course

Attribute

Course
code
venue
topics

code= SWE
venue= LH-04
topics=[methods;
design;testing]

:Course
code= DBMS
venue= LH-02
topics=[ERD;
design;relational]

Attributes

Units of information relevant to the


description of the class
Only attributes important to the user
stories should be included
Attributes can be simple or complex
(e.g., lists, nested structures)
Each class may include a unique key (e.g.,
orderID, employeeNo, ); but no foreign
keys (FK is relevant to relational db)
Slide 5

Attributes of Multiplex Class

name
city
noOfScreens
contactDetails
dateOpened
webURL
facebookURL

Identify attributes of various


classes in the domain model
System purpose/objective: Booking system to enhance
ticket sales efficiency of sales persons, to assist in
scheduling shows effectively, and to provide best booking
experience for the customers.
Use cases (or the functionality described in user stories)

Sprint 1: maintain information about movies; maintain


multiplex details; propose show schedule and ticket prices
for new releases; schedule counter staff; approve show
schedule and ticket prices

You might also like