0% found this document useful (0 votes)
32 views9 pages

All Tables Structure

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

All Tables Structure

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

STUDENT

Sequence
Sequence Name Strat Value End Value Increment by
Sequence_Student_Registration 1 100000 1
Assignment_Sequence_Number 1 100000 1
Download_Sequence_Number 1 100000 1
Payment_Sequence_Number 1 100000 1
Librarian_Sequence_Number 1 100000 1
Book_Sequence_Number 1 100000 1
BookIssue_Sequence_Number 1 100000 1
Transport_Register_Number 1 100000 1
TransportPayment_Regsistartion_Number 1 100000 1
Admin_Registartion_Number 1 100000 1
Result_Sequence_Number 1 100000 1
Marks_Sequence_Number 1 100000 1
Teacher_Registration_Number 1 100000 1

Student Table:-

Attribute Name Data Type


Student_Reg_Id Varchar(10) REG+YEAR+MONTH+DAY+Sequen Primary Key
ce_Student_Registration
Roll_Number Integer(3) Not Null
First_Name Varchar(20) Not Null
Middle_Name Varchar(20)
Last_Name Varchar(20)
Email_Id_Primary Varchar(20) Must contain @ and .com
Email_Id_Secondary Varchar(20) Must contain @ and .com
Mobile_number Integer(14) Must be 10 digit Not Null
Telephone_Number Integer(14) Must be 10 digit Not Null
Password Varchar(20) RULE Not Null
Date_Of_Birth Date Not Null
Registration_Start_Date DateTime Not Null
Registration_End_Date DateTime
Class_Current Integer (2) Each year class will change Not Null
automatically. This will be control
by Admin.
Class_Admission Integer(2)
Section_Id Varchar(2) Section A/B/C/D/E/Default
Gender Varchar(10) Male/Female/Others Not Null
Transport_Reg_Number Varchar(10) Foreign Key
Add_House_Number Varchar(50)
Add_Area Varchar(50)
Add_City Varchar(50) Not Null
Add_District Varchar(50) Not Null
Add_Pin_Code Integer(10) Not Null
Add_State Varchar(20) Not Null
Add_Country Varchar(20) Not Null

Attendance Table:-

Student_Reg_id VarChar(10) Foreign Key


Class Integer(2) Not Null
Date Date Not Null
fStatus Integer(1) Present :1 /Absent : 0 /Holiday: 2 Not Null
/Event: 3
Teacher_Reg_Number VarChar(10) Foreign Key

Assignment:-
Assignment_Id Varchar(10) Assignment+Assignme Primary Key
nt_Sequence_Number
Teacher_Reg_id Varchar(10) Foreign Key
Class Integer(2) Drop down Not Null
Section Varchar(2) Drop down :-Section
A/B/C/D/E/Default
Subject Varchar(20) Drop down we will Not Null
show for particular
class only .
Assignment detail Varchar(1000) If size will be more Not Null(User can
then 1000 character , write here “see
show error msg. document”)
Document document PDF/Word/Image
Assignment_Date DateTime Will be provided by Not Null
teacher . Teacher will
select from calendar
Assignment__Submission DateTime Will be provided by Not Null
_Date teacher . Teacher will
select from calendar
Download:-
Download_Id Varchar(10) Download+Download_ Primary Key
Sequence_Number
Teacher_Reg_Id Varchar(10) Either Student_Reg_Id Foreign Key
Student_Reg_Id Varchar(10) or Teacher_Reg_Id Foreign Key
should be inserted.
Class Integer(2) Not Null
Subject Varchar(20) Not Null
Assignment detail Varchar(20) Not Null(User can
write here “see
document”)
Document document PDF/Word/Image
Assignment_Date DateTime Will be provided by Not Null
teacher . Teacher will
select from calendar
Assignment__Submission DateTime Will be provided by Not Null
_Date teacher . Teacher will
select from calendar

Student Academic Calendar:-

Year Integer(4) Not Null


Date of Event DateTime Not Null
Class Integer(2) Not Null
Section Varchar(2)
Event Name Varchar(10) Not Null
Event description Varchar(50)

Fee Payment Details:-


Payment_Id Varchar(15) Payment+Payment_Se Primary Key
quence_Number
Student_Reg_Id Varchar(10) Provided by user Foreign Key
Month Varchar(10) Drop Down Not Null
Payment_Date Date calendar Not Null
Payment_Amount Integer(8) Admin will provide Not Null
Manually with the help
of payment structure
Mode_Of_Payment Varchar(8) (Cash/Card/Other) Not Null
Note Varchar(50)
LIBRARY

Librarian Detail
Librarian_Reg_Id Varchar(10) LIBRARIAN+Librarian_S Primary Key
equence_Number
Password Varchar(20) Not Null
First Name Varchar(20) Not Null
Middle Name Varchar(20)
Last Name Varchar(20)
Email Id_Primary Varchar(20) Must contain @ and Not Null
.com
Email Id_Secondary Varchar(20) Must contain @ and
.com
Mobile Number Integer(14) Must be 10 digit Not Null
Gender Varchar(10) Male/Female/Others Not Null
Date Of Birth Date
Registration Start Date DateTime Not Null
Registration End Date DateTime

Librarian Academic Calendar:-


Year Integer(4) Not Null
Event Name Varchar(10) Not Null
Date of Event DateTime Not Null
Event Description Varchar(250)
Book Registration
Book_id Varchar(10) BOOK+Book_Sequence_Number Primary Key
Book_Name Varchar(15) Not Null
Book_Author Varchar(20) Not Null
Published Year Date
Price Integer(5) Not Null
Date DateTime System date Not Null
Detail_description Varchar(20)
Category Varchar(10) Drop Down : Not Null
Math/Science/Gk/Novel/Story/Language
Fine_Amount_lost Integer Not Null
Fine_Amount_perday Integer Not Null
Status Varchar(10) Available/Issued/Lost Not Null
Return day Integer(1) It can be 10, 15 ,30 days Not Null
Book Issue :-
Book_Issue_Id Varchar(10) BOOKISSUE+YEAR+MONTH+DAY Primary Key
+BookIssue_Sequence_Number
Student_Reg_Id Varchar(10) Foreign Key
Librarian_Reg_Id Varchar(10) We will take this value from Foreign Key
session.
Date_of_issue DateTime Calendar Not Null
Date_of_Submission DateTime By default day : date of issue +
Return day
Book_Id Varchar(10) Foreign Key
Issue_Status Varchar(10) Drop down : Issued / Returned Not Null
/Lost
Fine amount collected Integer(5)

Transport
Bus Registration:-
Bus_Reg_Id Varchar(15) Bus Number (It Primary Key
should be actual bus
number)
Date_of_Registration DateTime calendar Not Null
End_Date_of_Service DateTime calendar
Mrng_Source Varchar(20) Not Null
Mrng_Destination Varchar(20) Not Null
Mrng_Route Varchar(100) Not Null
Mrng_Start_Time Time Not Null
Mrng_Route_time Time Not Null
Mrng_End_Time Time Not Null
Evng_Source Varchar(20) Not Null
Evng_ Destination Varchar(20) Not Null
Evng _Route Varchar(100) Not Null
Evng_ Start_Time Time Not Null
Evng _Route_Time Time Not Null
Evng_ End_Time Time Not Null
Total_Seat Integer(3) Not Null
Available_Seat Integer(3) Initial available seat Not Null
will be total seat
Driver_Name Varchar(20) Not Null
Driver_Mobile_Number Integer(14) Not Null
Conductor_Name Varchar(20) Not Null
Conductor_Mobile_Number Integer(14) Not Null

Student Transport Registration:-


Transport_Reg_Id Varchar(10) TRANS+Year+Month+day+Transp Primary Key
ort_Register_Number
Bus_Reg_Id Varchar(15) Foreign Key
Monthly_Fee_Amount Integer(5) Not Null
Pickup Point Varchar(15) Not Null
Status Varchar Active/Resume/NA
Active: Taking Bus service
Resume: Current service e
resumed
NA: Bus service not taking

Student Transport Fee:-


Transport_Payment_Id Varchar(10) TRANSPAYMENT+Trans Primary Key
portPayment_Regsistar
tion_Number
Transport_Reg_Id Foreign Key
Month Varchar(10) Drop down Not Null
Payment_Date DateTime Calendar Not Null
Payment_Amount Integer(5) Not Null
Mode_Of_Payment Varchar(5) (Cash/Card/Other) Not Null

Transport Academic Calendar:-


Year Integer(4) Not Null
Event Name Varchar(10) Not Null
Date of Event DateTime Not Null
Description Varchar(250)

ADMIN
Admin Table:-
Admin_Reg_Id Varchar(10) ADMIN+Admin_Regista Primary Key
rtion_Number
Password Varchar(20) Not Null
First Name Varchar(20) Not Null
Middle Name Varchar(20)
Last Name Varchar(20)
Email Id_Primary Varchar(20) Not Null
Email Id_Secondary Varchar(20)
Mobile Number Integer(14) Not Null
Gender Varchar(8) (Male/Female/Others) Not Null
Date Of Birth Date
Registration_Start_Date DateTime Not Null
Registration_End_Date DateTime Admin will able to log
in only if
Registration_End_Date
field is empty

Class Fees Structure:-


Class Integer(2) Not Null
Fees Integer(5) Not Null
Date Date We will insert system Not Null
date .
Admin_Reg_Id Varchar(20) Foreign Key

Bus Fees Structure:-


Bus_Reg_Id Varchar(10) Foreign Key
Fees Integer(5) Not Null
Date Date
Admin_Reg_Id Varchar(10) Foreign Key
Pickup Point Varchar(20) Drop-Down based on Not Null
Bus_Reg_id

Teacher Salary Structure:-


Teacher_Reg_Id Varchar(10) Drop down Foreign Key
Salary Integer(8) Not Null
Date Date System date Not Null
Admin_Reg_Id Varchar(10) Foreign Key

Subject Table:-
Subject_Id Integer(3) Class+SubjectName+Ye Primary Key
ar
Subject_Name Varchar(10) Not Null
Teacher_Reg_Id Varchar(10) Foreign Key
Class Integer(2) Not Null
Year Integer(5) Not Null

Result Table:-
Result_Id Varchar(10) RESULT+Result_Sequen Primary Key
ce_Number
Student_Reg_Id Varchar(10) Foreign Key
Admin_Reg_Id Varchar(10) Foreign key
Class Integer(2) Not Null
Section Varchar(2)
Year Integer(5) Not Null
Marks Table:-
Result_Id Varchar(10) MARKS+Marks_Sequen Primary Key
ce_Number
Marks_1 Varchar(10) It will contain Not Null
subject_id-marks for
that subject
Marks_2 Varchar(10) Not Null
Marks_3 Varchar(10) Not Null
Marks_4 Varchar(10) Not Null
Marks_5 Varchar(10) Not Null
Marks_6 Varchar(10)
Marks_7 Varchar(10)
Marks_8 Varchar(10)
Marks_9 Varchar(10)
Marks_10 Varchar(10)
Marks_11 Varchar(10)
Marks_12 Varchar(10)
Marks_13 Varchar(10)
Marks_14
Marks_15
Feedback:-
Student_Reg_Id VarChar(10) Foreign Key
Teacher_Reg_Id Varchar(10) Foreign Key
Bus_Reg_Id Varchar(10) Foreign Key
Librarian_Reg_Id Varchar(10) Foreign Key
Feedback Varchar(200) Not Null
Feedback_form
Admin_Academic_Calander:-
Year Integer(4) Not Null
Event Name Varchar(10) Not Null
Date of Event DateTime Not Null
Description Varchar(250)

TEACHER
Teacher Table:-
Teacher_Reg_Id Varchar(10) TCH+YEAR+MONTH+DAY+Teache Primary Key
r_Registration_Number
Password Varchar(20) Not Null
First Name Varchar(20) Not Null
Middle Name Varchar(20)
Last Name Varchar(20)
Email Id_Primary Varchar(20) Not Null
Email Id_Secondary Varchar(20)
Mobile Number Integer(14) Not Null
Gender Varchar(8) (Male/Female/Others) Not Null
Date Of Birth Date
Registration Start Date DateTime Not Null
Registration End Date DateTime
Primary_Subject Varchar(10) Not Null
Secondary_Subject_1 Varchar(10)
Secondary_Subject_2 Varchar(10)

Teacher Salary:-
Teacher_Reg_Id Varchar(10) Foreign Key
Salary_Month Varchar(10) Not Null
Salary_Year Integer(5) Not Null
Amount Integer(8) Not Null
Date_Of_Payment Date Not Null
Transaction_Number Varchar(15) Not Null
Mode_Of_Payment Varchar(8) (Cash/Card/Others) Not Null

Teacher_Academic_Calander:-
Year Integer(4) Not Null
Event Name Varchar(10) Not Null
Date of Event DateTime Not Null
Description Varchar(250)

You might also like