29
សសសសសសសសសសសសសសសសសសសស សសស សសស សសសសសសសសសស សស សសសសសសស សសសស សសសសស សស សសសសសសសសស សសសស សសសសសសស សសសស សសសសសស Royal University of Phnom Penh Department of Computer Science and Engineerin Database System

Database management system

Embed Size (px)

Citation preview

PowerPoint Presentation

Royal University of Phnom PenhDepartment of Computer Science and EngineeringDatabase System

.......Data Flow Diagram.Entities Relationship Diagram.Data Dictionary.Forms

. RTC (+855) 23883783/(+855)23883773/(+855)23883718 Email: [email protected] Website: www.rtctrans.com

.Primary Data Collection RTC Business Rules Project Secondary Data Collection Video YouTube Website Assignments

. Design Data Models

Model Model System ComponentData flow Diagram DFDEntities Relational Diagram E-RD System RequirementsHardware :Desktop or Laptop ComputerCPU Pentium dual core upRam 512 MB upDisplay (1280 x 800)PrinterSoftware :Microsoft OS (window XP / SEVEN)Microsoft Access 2003

.General Manager : RTC Co,Ltd

.(Business Rules)

.Table RTCTrucks (Truck No, Plate Name )Suppliers (ID, Name, Address, Phone Number, Email)Tires (ID,TireCode, Brand, Size, Price, Data in Stock, Location, SupplierID) Tire Change (ID, TrieID, Truck No, Date of Change, Unit Price, Duration, Status)

.()Lubricants (ID, Brand, Quantity, Price, Date in Stock, Amount in Stock, Group, SupplierID)Lubricant Change (ID, LubricantID, TruckID, Date of Chang, Unit Price, Remark, Amount, Status)Fuel (ID, Coupon Number, Price, Date in Stock, Amount in Stock, Remark, SupplierID)Fuel Change (ID, FuelID, TruckID Date of Change, Amount)Password (UserID, Username, Password)

.Data Flow DiagramDiagram Symbol

Process Data Flow Data Store Entity

General Data Flow

Data Storing Process

Data Releasing Process

Entities Relationship Diagram

Data DictionaryFieldsData TypeKeysField SizeFormatIDAuto numberPrimary KeyLong IntegerPlate numberShort text20

TruckFieldsData TypeKeysField SizeFormatIDAuto numberPrimary KeyLong IntegerNameShort text50AddressShort textPhone NumberNumberEmailHyper Link

Supplier

FieldsData TypeKeysField SizeFormatIDAuto numberPrimary KeyTire CodeNumberSizeShort text25PriceCurrencyDate in StockDate/Timedd/mmm/yyyyLocationShort TextSupplierIDNumberForeign Key

TireFieldsData TypeKeysField SizeFormatIDAuto numberPrimaryTireIDNumberForeign KeyTruck NoNumberForeign KeyDate of ChangeDate/Timedd/mmm/yyyyUnit PriceCurrencyDurationDate/Timedd/mmm/yyyyStatusShort Text

Tire Change

FieldsData TypesKeysField SizeFormatIDAuto NumberPrimary KeyLong IntegerBrandShort TextQuantityNumberPriceCurrencyDate in StockDate/Timedd/mmm/yyyyAmount in StockNumberGroupShort TextSupplierIDnumberForeign Key

LubricantsFieldsData TypesKeysField SizeFormat IDAuto numberPrimary KeyLong IntegerLubricantIDNumberForeign KeyLong IntegerTruckIDNumberForeign KeyLong IntegerDate of ChangeDate/Timedd/mmm/yyyyUnit PriceCurrencyRemarkShort Text50AmountNumberInteger

LubricantsChanges

FieldsData TypesKeysField SizeFormatIDAuto numberPrimary KeyLong IntegerCoupon NumberShort Text50PriceCurrencyDate in StockDate/Timedd/mmm/yyyyAmountShort Text50RemarkText25SupplierIDNumberForeign Key

FuelsFieldsData TypesKeysField SizeFormatIDAuto NumberPrimary KeyLong IntegerCoupon NumberShort Text50Date OutDate/Timedd/mmm/yyyyAmountShort Text50

FuelChanges

FieldsData TypesKeysField SizeFormatIDAuto NumberPrimary KeyLong IntegerUsernameShort TextPasswordShort TextTypeShort Text

Login

Login

Trucks

Tires

Tires Changes

Lubricants

Lubricant Changes

Fuels

Fuel Changes

Suppliers

Menu