Вы находитесь на странице: 1из 33

Poultry Farming System

Design Document 1
Revision History

Date Version Description Author


(dd/mm/yyyy)

10/07/2012 1.0 Introduction of the project MC100400836,MC1102024


27
Table of Contents

1. Introduction

2. Overview

3. Data Flow Diagrams (DFD)

4. Entity Relationship Diagram (ERD)

5. Activity Diagram

6. Sequence Diagrams

7. Architecture Design Diagram


1. Introduction

Analysis Phase:

The Analysis Phase is where the project lifecycle begins. The Analysis Phase
is where you have broken down the high-level Project definition into more
detailed business requirement. The purpose of the Analysis Phase is to identify
and substantiate the optimum solution that will satisfied the project
requirements and constraints and to establish the project budget, schedule,
controls, and evaluation criteria that will be put forward for preliminary project
approval. The level of effort required for this phase is dependent on the nature,
complexity and sensitivities of the project.
Design Phase:

The purpose of the Design Phase of project lifecycle is to plan out a


system that meets the requirements defined in the analysis Phase. The design
Phase is the most crucial Phase in the development of a system. Normally, the
design proceeds in two stages:
 Preliminary or general design
 Structure or detailed design
In preliminary or general design, the features of the new system are specified
the cost of implementing these features and the benefits to be derived are
estimated. If the project is still considered to be feasible, we move to the
detailed design stage. The design model serves as an abstraction of the source
code; that is the design model acts as a ‘blueprint’ of how the source code is
structured and written.
The design model consists of design classes structured into design
packages and design subsystem with well-defined interfaces, representing what
will become components in the implementation. It also contains descriptions of
how objects of these design classes collaborate to perform use cases.
Analysis and Design Phase are very crucial in the whole development cycle.
Any glitch in the design Phase could be very expensive to solve in the later
stages of the software development. Much care is taken during this Phase. The
logical system of the product is developed in this Phase.

2. Overview Of proposed system

Poultry farming is a widely spread business in Pakistan. As the consumption of


white meat and egg has gradually increased in recent years due to growing of
health awareness and the cheapest source of animal protein available in
Pakistan is broiler meat and eggs. Poultry applies to a wide variety of birds of
several species including chicken, pigeon, duck, ostrich, quail, etc but this
system will cover up two common type of chicken i.e one for meat purpose and
one for egg production. As the poultry farming grows day by day the companies
managing the poultry business are attracting more clients and it is difficult to
manage all the operations of such companies manually. Major processes like
breed procurement, feed procurement, sales of meat and eggs needs more
attention to manage major clientele and suppliers. It takes time to consolidate
the sale and purchase information to create the final report for the company
owners if required. In recent years, poultry disease effected the business
majorly and one cause of these diseases is related to the timely vaccinations of
the breed. If the proper vaccination record of the breed exists, then timely
actions would be in placed to avoid any losses in business. As most of the
business owners run their business on paper based environment so in this case
there is no backup of the information that can be used if anything would happen
to the main records. Taking all these limitations/problems into account the we
have decided to create a computer based solution for poultry farming business
to make accessing information easier and rectify the problem that have been
identified in the paper based system.
Covered Processes

Keeping in view the limitations and issues of the manual system in practice for
poultry business, we will cover the following processes within this project.
 Breed Procurement
 Feed Procurement
 Feed Usage
 Breed Vaccination Record
 Sale of Meet and Eggs
 Sale of Wastage
 Employee Salaries
 Other Expenses

Along with the above mentioned processes, this application will provide end
user the following extra functionalities to run the business more accurately and
efficiently.

 Multi Poultry form will be handled through single instance of the


application.
 User security based on user groups and roles will be part of the
application.
 Application will be user friendly keeping in view the end user needs and
expertise to use such business applications.
 A wide variety of reports will be available at multiple stakeholders to
view the current state and previous history of the business to make future
decisions accordingly.
3. Data Flow Diagrams (DFD)

Context Diagram
Level 1 Data Flow Diagram
Level 2 Data Flow Diagram

1-Procurement Process
2 – Sale Process

3 – Feed Usage Process


4 – Salary Process

5 – Expense Process

6 – Vaccination Process
4. Entity Relationship Diagram (ERD)

FEED_T YPE BREED_PROC_DETAIL


FEED_PROC_DET AIL BREED_T YPE
FEED_ID BREED_PROC_ID (FK)
FEED_PROC_ID (FK) BREED_ID BREED_ID (FK)
FEED_ID (FK)
FEED_DESCRIPTION BREED_DESCRIPTION
UNIT PRICE
PRICE PURCHASE_PRICE
PURCHASE_PRICE NO_OF_BIRDS
QUANTIT Y AVG_LIFE
QTY_ON_HAND

BREED_PROCUREMENT
FEED_PROCUREMENT SUPPLIER BREED_PROC_ID
FEED_PROC_ID SUPPLIER_ID
FARM_ID (FK)
SUPPLIER_NAME SUPPLIER_ID (FK)
FARM_ID (FK)
ADDRESS USER_ID (FK)
SUPPLIER_ID (FK)
PHONE PROCUREMENT_DATE
USER_ID (FK)
TOTAL_AMOUNT
PROCUREMENT_DATE
AMOUNT _PAID
T OT AL_AMOUNT
AMOUNT_PAID USER
USER_ID OTHER_EXPENSES
USER_NAME EXPENSE_ID
USER_ROLE
PASSWORD FARM_ID (FK)
DESCRIPTION
EXPENSE_DAT E
POULTARY_FARM AMOUNT
USER_ID (FK)
FARM_ID
FARM_DESCRIPTION
FARM_LOCATION
FARM_AREA
RENT_AMOUNT
PRODUCT_SALE WAST E_SALE
PROD_SALE_ID WASTE_SALE_ID
CUST OMER
SALE_DATE FARM_ID (FK)
CUST OMER_ID
CUSTOMER_ID (FK) CUSTOMER_ID (FK)
FARM_ID (FK) CUST OMER_NAME USER_ID (FK)
USER_ID (FK) ADDRESS SALE_DATE
T OT AL_AMOUNT PHONE T OT AL_AMOUNT
AMOUNT_RECEIVED AMOUNT_RECEIVED

BREED_BATCH
PRODUCT_SALE_DETAIL
BAT CH_NUMBER WAST E_SALE_DET AIL
PROD_SALE_ID (FK)
PRODUCT_ID (FK) FARM_ID (FK) WAST E_SALE_ID (FK)
BAT CH_CREATED_DATE WAST E_ID (FK)
PRICE BAT CH_EXP_OUT_DAT E
QUANTITY BREED_ID PRICE
NO_OF_BIRDS QUANT ITY
EXPECT ED_WEIGHT

PRODUCT
PRODUCT_ID
WAST E_TYPE
PRODUCT_DESCRIPTION
UNIT WAST E_ID
SALE_PRICE VACCINATION_PROCESS
WAST E_DESCRIPTIONN
VACC_PROCESS_ID UNIT
VACCINATION_TYPE SALE_PRICE
BAT CH_NUMBER (FK)
VACCINATION_ID VACCINATION_ID (FK)
DESCRIPT ION EMPLOYEE
VACC_NAME VACC_DATE
FREQUENCY QUANTIT Y EMPLOYEE_ID
PRICE
EMPLOYEE_NAME
CNIC
EMPLOYEE_SALARY GENDER
DESIGNAT ION
SALARY_ID DATE_OF_JOINING
EMPLOYEE_ID (FK) SALARY
SALARY_DATE PHONE
SALARY_AMOUNT CELL
ADDRESS
5. Activity Diagram

Login Process
Breed Procurement Process
Feed Procurement Process
Egg/Meat (Product) Sale Process
Wastage Sale Process
Feed Usage Process
Salary Process
Vaccination Process
Expenses Process
6. Sequence Diagrams

Login Process
Breed Procurement Process
Feed Procurement Process
Product Sale Process
Wastage Sale Process
Feed Usage Process
Salary Process
Vaccination Process
Expenses Process
7. Architecture Design Diagram

Вам также может понравиться