PROJECT ON
                NEW PROJECT LTD

Develped by

       Name: Team 3 – K15CMU-TCD1
1.Nguyễn Đình Nhật
2.Lê Văn Hưng
3.Nguyễn Trần Xuân Ngân
4.Đinh Hoàng Hải

Reg. No. : 01




                    CMU PROGRAM
                INTERNATIONAL SCHOOL
                  DUY TAN UNIVERSITY
NEW PROJECT

Batch Code                :
Start date                : 15/0/2011 End date: 19/05/2011
Name of the Coordinator   : Nguyễn Thị Thanh Tâm
Name of Developer         : Team 3 - K15CMU-TCD1
Date of Submission        : 20/05/2011
CMU PROGRAM


                                    CERTIFICATE
This is to certify that this report titled “NEW PROJECT LTD” embodies the original work done by
TEAM 3 – K15CMU-TCD1 in partial fulfillment of their course requirement at CMU.

Coordinato: Nguyễn Thị Thanh Tâm
ACKNOWLEDGEMENT
      We have benefited a lot from the feedback and suggestions given to us by Mrs. Nguyễn Thị
Thanh Tâm and other faculty members.
SYSTEM ANALYSIS
       System Summary: New Project Ltd. is a company that provides staff on contract for various
project assignments. The company is known for providing qualified and skilled staff that can fulfill
the project requirements efficiently. New Project employs professionals from various fields that match
the requirement of clients.
.
ENTITIES
                Number of entities: 8

                Name of entities:
1.Client
2.Project
3.Employee
4.Expense
5.Work detail
6.Payment
7.Credit-card
8.Time-card
ATTRIBUTES
Attributes:

       1. Client
              C-code
              C-add
              C-contact
              C-company-name
              C-country
              C-phone

       2. Project
              P-code
              P-description
              P-name
              P-estimate-bill
              P-start-date
              P-end-date

       3. Employee
             E-code
             E-name
             E-phone
             E-country
             E-bill-rate

       4. Expense
              Ex-description
              Ex-code-ID
              Ex-date
              Ex-code
              Ex-amount

       5. Work
             W-code-ID
             W-description
6. Payment
      Pa-code
      Pa-ID
      Pa-name
      Pa-amount
      Pa-date

7. Credit-card
       Cr-number
       Cr-holder-name
       Cr-expiry-date

8. Time-card
      T-ID
      T-date-issued
      T-worked
      T-billable-hours
ER DIAGRAM
TABLES
    Employee           Project              Client
E-code           P-code             C-code
E-name           P-description      C-add
E-phone          P-name             C-contact
E-country        P-estimate-bill    C-company-name
E-bill           P-start-date       C-country
                 P-end-date         C-phone


Expense          Work               Credit-card
Ex-description   W-code-Id          Cr-number
Ex-code-ID       W-description      Cr-holder-name
Ex-date                             Cr-expiry-date
Ex-code
Ex-amount


Payment          Time Card
                 T-code-ID
Pa-ID            T-date-issued
Pa-name          T-worked
Pa-amount        T-billable-hours
Pa-date
TABLES AFTER 1NF
    Employee              Project              Client
E-code              P-code             C-code
E-name              P-description      C-add
E-phone             P-name             C-contact
E-country           P-estimate-bill    C-company-name
E-bill              P-start-date       C-country
                    P-end-date         C-phone


Expense             Work               Credit-card
Ex-description      W-code-Id          Cr-number
Ex-code-ID          W-description      Cr-holder-name
Ex-date                                Cr-expiry-date
Ex-code
Ex-amount


Payment             Time Card
                    T-code-ID
Pa-ID               T-date-issued
Pa-name             T-worked
Pa-amount           T-billable-hours
Pa-date
TABLES AFTER 2NF
    Employee              Project              Client
E-code              P-code             C-code
E-name              P-description      C-add
E-phone             P-name             C-contact
E-country           P-estimate-bill    C-company-name
E-bill              P-start-date       C-country
                    P-end-date         C-phone


Expense             Work               Credit-card
Ex-description      W-code-Id          Cr-number
Ex-code-ID          W-description      Cr-holder-name
Ex-date                                Cr-expiry-date
Ex-code
Ex-amount
T-code-ID
P-code


Payment             Time Card
Pa-code             T-code-ID
Pa-ID               T-date-issued
Pa-name             T-worked
Pa-amount           T-billable-hours
Pa-date             E-code
P-code              W-code-id
Cr-number           P-code
TABLES AFTER 3NF
    Employee                Project            Client
E-code              P-code             C-code
E-name              P-description      C-add
E-phone             P-name             C-contact
E-country           P-estimate-bill    C-company-name
E-bill              P-start-date       C-country
                    P-end-date         C-phone


Expense             Work               Credit-card
Ex-description      W-code-Id          Cr-number
Ex-code-ID          W-description      Cr-holder-name
Ex-date                                Cr-expiry-date
Ex-code
Ex-amount


Payment             Time Card          Detail-Time-card
P-code              T-code-ID          T-code-ID
Pa-ID               T-date-issued      E-code
Pa-name             T-worked           W-code-id
Pa-amount           T-billable-hours   P-code
Pa-date                                Ex-code-ID


Detail-Project      Detail-payment
P-code              Pa-id
C-code              P-code
E-code              Cr-number
TABLES AFTER DENORMALIZATION

    Employee                    Project              Client
E-code                    P-code             C-code
E-name                    P-description      C-add
E-phone                   P-name             C-contact
E-country                 P-estimate-bill    C-company-name
E-bill                    P-start-date       C-country
                          P-end-date         C-phone


Expense                   Work               Credit-card
Ex-description            W-code-Id          Cr-number
Ex-code-ID                W-description      Cr-holder-name
Ex-date                                      Cr-expiry-date
Ex-code
Ex-amount
T-code-ID
P-code


Payment                   Time Card          Detail-Project
Pa-code                   T-code-ID          P-code
Pa-ID                     T-date-issued      C-code
Pa-name                   T-worked           E-code
Pa-amount                 T-billable-hours
Pa-date                   E-code
P-code                    W-code-id
Cr-number                 P-code
PRIMARY AND FOREIGN KEYS

Client
         Primary key : C-code

Payment
      Primary key : Pa-ID
         Forgein key : P-code, Cr-number

Project
       Primary key :   P-code

Employee
     Primary key : E-code

Credit-card
       Primary key : C-number


Time-card
      Primary key : T-code-ID
      Forgein key : E-code, P-code, Ex-code-ID

Expense
      Primary key : Ex-code-ID
      Forgein key : T-code, P-code

Work
         Primary key : W-code-ID

Database Project 2011

  • 1.
    PROJECT ON NEW PROJECT LTD Develped by Name: Team 3 – K15CMU-TCD1 1.Nguyễn Đình Nhật 2.Lê Văn Hưng 3.Nguyễn Trần Xuân Ngân 4.Đinh Hoàng Hải Reg. No. : 01 CMU PROGRAM INTERNATIONAL SCHOOL DUY TAN UNIVERSITY
  • 2.
    NEW PROJECT Batch Code : Start date : 15/0/2011 End date: 19/05/2011 Name of the Coordinator : Nguyễn Thị Thanh Tâm Name of Developer : Team 3 - K15CMU-TCD1 Date of Submission : 20/05/2011
  • 3.
    CMU PROGRAM CERTIFICATE This is to certify that this report titled “NEW PROJECT LTD” embodies the original work done by TEAM 3 – K15CMU-TCD1 in partial fulfillment of their course requirement at CMU. Coordinato: Nguyễn Thị Thanh Tâm
  • 4.
    ACKNOWLEDGEMENT We have benefited a lot from the feedback and suggestions given to us by Mrs. Nguyễn Thị Thanh Tâm and other faculty members.
  • 5.
    SYSTEM ANALYSIS System Summary: New Project Ltd. is a company that provides staff on contract for various project assignments. The company is known for providing qualified and skilled staff that can fulfill the project requirements efficiently. New Project employs professionals from various fields that match the requirement of clients. .
  • 6.
    ENTITIES Number of entities: 8 Name of entities: 1.Client 2.Project 3.Employee 4.Expense 5.Work detail 6.Payment 7.Credit-card 8.Time-card
  • 7.
    ATTRIBUTES Attributes: 1. Client C-code C-add C-contact C-company-name C-country C-phone 2. Project P-code P-description P-name P-estimate-bill P-start-date P-end-date 3. Employee E-code E-name E-phone E-country E-bill-rate 4. Expense Ex-description Ex-code-ID Ex-date Ex-code Ex-amount 5. Work W-code-ID W-description
  • 8.
    6. Payment Pa-code Pa-ID Pa-name Pa-amount Pa-date 7. Credit-card Cr-number Cr-holder-name Cr-expiry-date 8. Time-card T-ID T-date-issued T-worked T-billable-hours
  • 9.
  • 10.
    TABLES Employee Project Client E-code P-code C-code E-name P-description C-add E-phone P-name C-contact E-country P-estimate-bill C-company-name E-bill P-start-date C-country P-end-date C-phone Expense Work Credit-card Ex-description W-code-Id Cr-number Ex-code-ID W-description Cr-holder-name Ex-date Cr-expiry-date Ex-code Ex-amount Payment Time Card T-code-ID Pa-ID T-date-issued Pa-name T-worked Pa-amount T-billable-hours Pa-date
  • 11.
    TABLES AFTER 1NF Employee Project Client E-code P-code C-code E-name P-description C-add E-phone P-name C-contact E-country P-estimate-bill C-company-name E-bill P-start-date C-country P-end-date C-phone Expense Work Credit-card Ex-description W-code-Id Cr-number Ex-code-ID W-description Cr-holder-name Ex-date Cr-expiry-date Ex-code Ex-amount Payment Time Card T-code-ID Pa-ID T-date-issued Pa-name T-worked Pa-amount T-billable-hours Pa-date
  • 12.
    TABLES AFTER 2NF Employee Project Client E-code P-code C-code E-name P-description C-add E-phone P-name C-contact E-country P-estimate-bill C-company-name E-bill P-start-date C-country P-end-date C-phone Expense Work Credit-card Ex-description W-code-Id Cr-number Ex-code-ID W-description Cr-holder-name Ex-date Cr-expiry-date Ex-code Ex-amount T-code-ID P-code Payment Time Card Pa-code T-code-ID Pa-ID T-date-issued Pa-name T-worked Pa-amount T-billable-hours Pa-date E-code P-code W-code-id Cr-number P-code
  • 13.
    TABLES AFTER 3NF Employee Project Client E-code P-code C-code E-name P-description C-add E-phone P-name C-contact E-country P-estimate-bill C-company-name E-bill P-start-date C-country P-end-date C-phone Expense Work Credit-card Ex-description W-code-Id Cr-number Ex-code-ID W-description Cr-holder-name Ex-date Cr-expiry-date Ex-code Ex-amount Payment Time Card Detail-Time-card P-code T-code-ID T-code-ID Pa-ID T-date-issued E-code Pa-name T-worked W-code-id Pa-amount T-billable-hours P-code Pa-date Ex-code-ID Detail-Project Detail-payment P-code Pa-id C-code P-code E-code Cr-number
  • 14.
    TABLES AFTER DENORMALIZATION Employee Project Client E-code P-code C-code E-name P-description C-add E-phone P-name C-contact E-country P-estimate-bill C-company-name E-bill P-start-date C-country P-end-date C-phone Expense Work Credit-card Ex-description W-code-Id Cr-number Ex-code-ID W-description Cr-holder-name Ex-date Cr-expiry-date Ex-code Ex-amount T-code-ID P-code Payment Time Card Detail-Project Pa-code T-code-ID P-code Pa-ID T-date-issued C-code Pa-name T-worked E-code Pa-amount T-billable-hours Pa-date E-code P-code W-code-id Cr-number P-code
  • 15.
    PRIMARY AND FOREIGNKEYS Client Primary key : C-code Payment Primary key : Pa-ID Forgein key : P-code, Cr-number Project Primary key : P-code Employee Primary key : E-code Credit-card Primary key : C-number Time-card Primary key : T-code-ID Forgein key : E-code, P-code, Ex-code-ID Expense Primary key : Ex-code-ID Forgein key : T-code, P-code Work Primary key : W-code-ID