0% found this document useful (0 votes)
117 views4 pages

Lis 3784 p1 Data Dictionary

The document describes the structure of tables in a database including the fields, data types, and relationships between tables for tracking financial transactions, institutions, sources of transactions, categories of transactions, accounts, and users. Specifically it lists the fields for each of the following tables: Category, Transaction, Institution, Source, Account, and User including the data type and format of each field. It also indicates any primary or foreign keys and relationships between tables.

Uploaded by

api-336451555
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
117 views4 pages

Lis 3784 p1 Data Dictionary

The document describes the structure of tables in a database including the fields, data types, and relationships between tables for tracking financial transactions, institutions, sources of transactions, categories of transactions, accounts, and users. Specifically it lists the fields for each of the following tables: Category, Transaction, Institution, Source, Account, and User including the data type and format of each field. It also indicates any primary or foreign keys and relationships between tables.

Uploaded by

api-336451555
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Table name

Attribute name
Contents
cat_id
Category ID
cat_type
Category Type
cat_notes
Category notes

Type
TINYINT
ENUM('salary', 'bon
VARCHAR(255)

Transaction

trn_id
src_id
cat_id
trn_type
trn_method
trn_amt
trn_date
trn_notes

Transaction ID
Source ID
Category ID
Transaction Type
Transaction Method
Transaction Amount
Transaction Date
Transaction notes

MEDIUMINT
INT
TINYINT
ENUM('salary', 'bon
VARCHAR(15)
DECIMAL(7,2)
DATETIME
VARCHAR(255)

Institution

ins_id
ins_name
ins_street
ins_city
ins_state
ins_zip
ins_phone
ins_email
ins_url
ins_contact
ins_notes

Insitution ID
Institution Name
Institution Street
Institution City
Institution State
Institution Zip
Institution Phone
Institution Email
Institution URL
Institution Contact
Institution notes

TINYINT
VARCHAR(30)
VARCHAR(30)
VARCHAR(30)
CHAR(2)
INT
BIGINT
VARCHAR(100)
VARCHAR(100)
VARCHAR(45)
VARCHAR(255)

Source

src_id
usr_id
ins_id
act_id
src_start_date
src_end_date
src_notes

Source ID
User ID
Institution ID
Account ID
Source Start Date
Source End Date
Source notes

INT
TINYINT
TINYINT
TINYINT
DATE
DATE
VARCHAR(255)

Account

act_id
act_type
act_notes

Account ID
Account Type
Account notes

TINYINT
VARCHAR(20)
VARCHAR(255)

usr_id
usr_fname
usr_lname
usr_street
usr_city

User
User
User
User
User

TINYINT
VARCHAR(15)
VARCHAR(30)
VARCHAR(30)
VARCHAR(30)

Category

User

ID
First Name
Last Name
Street
City

User

usr_state
usr_zip
usr_phone
usr_email
usr_notes

User
User
User
User
User

State
Zip
Phone
Email
notes

CHAR(2)
INT
BIGINT
VARCHAR(100)
VARCHAR(255)

Format
Abc
Abc

Domain

Required

123 1-5
Y
salary, bonus, pe
Y
a-z

PK/FK

FK Reference Table

PK

123 1-10
123 1-5
123 1-5
Abc
credit, debit
Abc
a-z
99999.99 0-99999.99
YYYY-DD-MM hh:0-9
Abc
a-z

Y
Y
Y
Y
Y
Y
Y

PK
FK
FK

123 1-5
Abc
a-z
123 Street
0-9, a-z
Abc
a-z
AZ
a-z
99999 0-9
9999999999 0-9
[email protected] a-z
Abc.abc
a-z
Abc
a-z
Abc
a-z

Y
Y
Y
Y
Y
Y
Y
Y
Y

PK

123 1-5
123 1-5
123 1-5
123 1-5
YYYY-MM-DD
0-9
YYYY-MM-DD
0-9
Abc
a-z

Y
Y
Y
Y
Y

PK
FK
FK
FK

123 1-5
a-z
a-z

Y
Y

PK

Abc
Abc

123 1-5
a-z
a-z
0-9, a-z
a-z

Y
Y
Y
Y
Y

PK

Abc
Abc
123 Street
Abc

Source
Category

User
Institution
Account

AZ

a-z
99999 0-9
9999999999 0-9
[email protected] a-z
Abc
a-z

Y
Y
Y

You might also like