You are on page 1of 3

Appendix B

DATA DICTIONARY

Table1. tblbilling

tblbilling=Billing_id+Stall_name+Stakeholder_id+ Date_Started+ Date_lastpayment+


Remarks+ Total_amount+ Total_paid
Column Type Null Default
Billing_id Int (11) No None
Stall_name Varchar(11) No None
Stakeholder_id Int (11) No None
Date_Started Varchar (20) No None
Date_lastpayment Varchar (20) No None
Remarks Varchar (100) No None
Total_amount Int (11) No None
Total_paid Int (11) No None

Table2. tblmonthly_billing

tbl_monthly_billing=Monthly_billing_id+Stall_name+Billing_id+Datefrom+Dateto+
Stakeholder_id+ Amount
Column Type Null Default
Monthly_billing_id Int (11) No None
Stall_name Varchar (10) No None
Billing_id Int (11) No None
Datefrom Varchar (20) No None
Dateto Varchar (20) No None
Stakeholder_id Int (11) No None
Amount Int (11) No None
Table3. tblpayment

Tblpayment= Payment_id+ Billing_id+ Amount+ Date


Column Type Null Default
Payment_id Int (11) No None
Billing_id Int (11) No None
Amount Int (11) No None
Date Varchar (100) No None

Table4. tblsms

tblsms =Sms_id+Billing_id+Date_sent+Notification_type
Column Type Null Default
Sms_id Int (11) No None
Billing_id Int (11) No None
Date_sent Varchar (20) No None
Notification_type Varchar (50) No None

Table5. tblstakeholder

tblstakeholder=Stakeholder_id+Firstname+Middlename+Lastname+Contact_number+
Address
Column Type Null Default
Stakeholder_id Int (11) No None
Firstname Varchar( 50) No None
Middlename Varchar( 50) No None
Lastname Varchar( 50) No None
Contact_number Bigint (11) No None
Address Varchar (100) No None

Table6. tblstall
66
tblstall=Stall_id+Stall_name+Xlocation+Ylocation+Xsize+ Ysize+ Stakeholder_id+
Image+ Amount

Column Type Null Default


Stall_id Int (11) No None
Stall_name Varchar (20) No None
Xlocation Int (11) No None
Ylocation Int (11) No None
Xsize Int (11) No None
Ysize Int (11) No None
Stakeholder_id Int (11) Yes NULL
Image Blob Yes NULL
Amount Int (100) No None
lenght Int (11) Yes NULL
Amount Int (11) yes NULL

Table7.tbluser
tbluser= User_id+ Username+ Password+ Fullname+ Contact_Number
Column Type Null Default
User_id Int (11) No None
Username Varchar (20) No None
Password Varchar (50) No None
Fullname Varchar (150) No None
Contact_Number Bigint (11) no None

67

You might also like