0% found this document useful (0 votes)
13 views18 pages

Modified Tables BoPBD

Crm

Uploaded by

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

Modified Tables BoPBD

Crm

Uploaded by

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

1.

Table: Student

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

NameBangla Varchar 200

NameEnglish Varchar 100

NickBangla Varchar 50

NickEnglish Varchar 25

DateofBirth Date

Gender Varchar 1

Religion Varchar 10

Nationality Varchar 11

Blood group Varchar 3

Photo Varchar 255

IssueDetail Varchar 255

PresentAddress Varchar 255

PermanentAddress Varchar 255

Status Short Integer 10

Notes Varchar 4

PreviousSchool Varchar 255

AgeOfDetection Integer 10

InstituteName Varchar 100

InstituteDetail Varchar 255

OtherIssues Varchar 255

OtherDiseases Varchar 255

CurrentMedication Varchar 255

Balance Integer 10

BatchID Big Integer 20 Foreign


2.
3. Table: Parents

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

NameBangla Varchar 200

EnglishName Varchar 100

Type Varchar 1

NID Varchar 20

Profession Varchar 10

Nationality Varchar 11

Education Varchar 20

Photo Varchar 255

Mobile Varchar 16

OtherPhones Short Integer 100

Email Varchar 40
Social/Skype/WhatsApp Varchar 255
Password Varchar 20
4.

5. Table: OtherContacts

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

Name Varchar 75

Address Varchar 255

NID Varchar 20 Optional

Photo Varchar 255

Mobile Varchar 16
6.

7. Table: ParentsRelations
ColumnName DataType DataSize Key Column Description
StudentID Big Integer 20 Foreign Key

FatherID Big Integer 20 Foreign Key ParentID / OtherID


MotherID Big Integer 20 Foreign Key
8.

9. Table: OtherRelations

ColumnName DataType DataSize Key Column Description


StudentID Big Integer 20 Foreign Key

CareTakerID Big Integer 20 Foreign Key ParentID / OtherID


EmergencyContactID Big Integer 20 Foreign Key
10.

11. Table: ServiceTaken

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

StudentID Big Integer 20 Foreign Key

ServiceID Big Integer 20 Foreign Key

DateToStart Date

DateToStop Date

RecurringDiscountOnAdmission Integer 10

RecurringDiscountOnTuition Integer 10

ExpectedDeposit Integer 10
12.

13. Table: Invoices

ColumnName DataType DataSize Key Column Description


InvoiceID Big Integer 20 Primary
StudentID Big Integer 20 Foreign Key

BillAfterDiscount Integer 10

Discount Integer 10

DiscountNote Varchar 255

Date Date

IsPurchase Boolean 1

RequisitionID Big Integer 20 Foreign Key Optional


BilledBy Big Integer 20 Foreign Key Optional
14.

15. Table: InvoiceElements

ColumnName DataType DataSize Key Column Description


ElementID Big Integer 20 Primary

InvoiceID Big Integer 20 Foreign Key

ServiceID Big Integer 20 Foreign Key

IsTuition Boolean 1

FeeAfterDiscount Integer 10

Units Integer 5

Discount Integer 10

DiscountNote Varchar 255


16.

17. Table: PurchasedElements

ColumnName DataType DataSize Key Column Description


ElementID Big Integer 20 Primary

InvoiceID Big Integer 20 Foreign Key

ItemID Big Integer 20 Foreign Key

UnitPrice Integer 10

Units Integer 10
18.

19. Table: Payments

ColumnName DataType DataSize Key Column Description


PaymentID Big Integer 20 Primary

StudentID Big Integer 20 Foreign Key

Amount Integer 10

Method Varchar 10

Date Date

PaidBy Varchar 20

ReceivedBy Big Integer 20 Foreign Key


20.

21. Table: MedicalExams

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

StudentID Big Integer 20 Foreign Key

Date Date

Diseases Varchar 255

SkinDisease Varchar 255

LeftEar Varchar 255

RightEar Varchar 255

LeftEye Varchar 255

RightEye Varchar 255

MouthAndThroat Varchar 255

Nose Varchar 255

RespiratorySystem Varchar 255

Cardiovascular Varchar 20
BodyTemparature Varchar 10

DeepTendonReflex Varchar 255

Hight Float 5

Weight Float 5

22.

23. Table: MedicalDocs

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

StudentID Big Integer 20 Foreign Key

DateAdded Date

FileName Varchar 255

Relevance Varchar 2
24.

25. Table: ParentObservations

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

StudentID Big Integer 20 Foreign Key

DateModified Date

Section Integer 5

Question Integer 5

Choice Integer 5
26. Table: HRTypes

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

Title Varchar 50 Unique

Description Varchar 255

CanModifyStudent Boolean 1

CanObserveStudent Boolean 1

CanAssessStudent Boolean 1

CanBillAndTakePayments Boolean 1

27. Table: HRDetail

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

Name Varchar 100

Email Varchar 100

Password Varchar 20

Type Big Integer 20 Foreign

Cellphone Varchar 20

OtherPhone Varchar 20

PresentAddress Varchar 255

PermanentAddress Varchar 255

NID Varchar 20

EducationalQualifica Varchar 255


tion
Photo Varchar 100

DateJoined Date

DateTerminated Date
28. Table: ServiceCatalog

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

Title Varchar 50

HasAdmissionFee Boolean 1

AdmissionCycle Varchar 10

TuitionCycle Varchar 10

IsActive Boolean 1

Description Varchar 100

17. Table: SessionCatalog

ColumnName DataType DataSize Key Column Description


SessionID Big Integer 20 Foreign

Title Varchar 50

StartDate Date

EndDate Date

IsActive Boolean 1

18. Table: ServiceFees

ColumnName DataType DataSize Key Column Description


ServiceID Big Integer 20 Foreign

SessionID Big Integer 20 Foreign

AdmissionFee Integer 20

TuitionFee Integer 20
19. Table: HolidayCalendar

ColumnName DataType DataSize Key Column Description


Date Date

Description Varchar 20

20. Table: Events

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

EventTitle Varchar 100

Description Varchar 255

StartDate Date

EndDate Date

StartTime Varchar 16

EndTime Varchar 16

Venue Varchar 10

RoomID Big Integer 20 Foreign Optional


CreatedBy Big Integer 20 Foreign

21. Table: EventsManagers

ColumnName DataType DataSize Key Column Description


EventID Big Integer 20 Foreign

HRID Big Integer 20 Foreign

IsNotified Boolean 1

22. Table: BatchesWithEvents


ColumnName DataType DataSize Key Column Description
EventID Big Integer 20 Foreign

BatchID Big Integer 20 Foreign

23. Table: NoticeTemplates

ColumnName DataType DataSize Key Column Description


TemplateTitle Varchar 20 Primary

BodyText Varchar 255

CreatedBy Big Integer 20 Foreign

24. Table: NoticeLogs

ColumnName DataType DataSize Key Column Description


LogID Varchar 20 Primary

BodyText Varchar 255

CreatedBy Big Integer 20 Foreign

Date Date

WebCopy Boolean 1

Mediums Varchar 255

Audiences Varchar 255

25. Table: Rooms

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

RoomType Varchar 20

RoomTag Varchar 10
RoomDisplayName Varchar 20

StudentLimit Integer 10

26. Table: Batches

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

BatchType Varchar 20

BatchName Varchar 50

PreferredRoomID Big Integer 20 Foreign

27. Table: ObservationSectors

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

SectorTitle Varchar 20

IsActive Boolean 1

28. Table: ObservationGroups

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

SectorID Big Integer 20 Foreign

GroupTitle Varchar 20

IsActive Boolean 1

29. Table: ObservationItems

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

GroupID Big Integer 20 Foreign

ItemTitle Varchar 20

TimeRequirement Integer

IsActive Boolean 1

30. Table: ObservationType

ColumnName DataType DataSize Key Column Description


ObservationItemID Big Integer 20 Foreign

HRTypeID Big Integer 20 Foreign

ScaleID Big Integer 20 Foreign

31. Table: Scales

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

Title Varchar 20

MinValue Integer 5

MaxValue Integer 5

32. Table: ScaleAnswers

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

ScaleID Big Integer 20 Foreign

Title Varchar 100

Score Integer 5
33. Table: Activity

ColumnName DataType DataSize Key Column Description


ID Big Integer 20 Primary

Title Varchar 100 Unique

IsTherapy Boolean 1

IsGroup Boolean 1

IsOutdoor Boolean 1

34. Table: PrescribedActivity

ColumnName DataType DataSize Key Column Description


PrescriptionID Big Integer 20 Primary

ActivityID Big Integer 20 Foreign

AnswerID Big Integer 20 Foreign

HRTypeID Big Integer 20 Foreign

IsTimeDependant Boolean 1

MinutesPerTime Integer 5

TimesPerSession Integer 5

NumberOfSession Integer 5

MinutesPerSession Integer 5

Regularity Integer 2

IsMandatoryForHR Boolean 1

35. Table: StudentObservations

ColumnName DataType DataSize Key Column Description


StudentID Big Integer 20 Foreign

SectorID Big Integer 20 Foreign


GroupID Big Integer 20 Foreign

ItemID Big Integer 20 Foreign

AnswerID Big Integer 20 Foreign

Comment Varchar 255

Date

ObservedBy Big Integer 20 Foreign

36. Table: StabilisedStudentObservations

ColumnName DataType DataSize Key Column Description


StudentID Big Integer 20 Foreign

SectorID Big Integer 20 Foreign

GroupID Big Integer 20 Foreign

ItemID Big Integer 20 Foreign

StableAnswerID Big Integer 20 Foreign

DateAssessed Date

37. Table: StudentActivitySet

ColumnName DataType DataSize Key Column Description


StudentID Big Integer 20 Foreign

PresciptionID Big Integer 20 Foreign

DateStarted Date

DateExpired Date

SessionsLeft Integer 10

38. Table: GeneralRoutine

ColumnName DataType DataSize Key Column Description


RoutineID Big Integer 20 Primary

StartDate Date 20

EndDate Date

Day Integer 2

StartTime Time

EndTime Time

IsCommonActivity Boolean 1

39. Table: GeneralActivity

ColumnName DataType DataSize Key Column Description


GeneralID Big Integer 20 Primary

Title Varchar 50 Unique

Note Varchar 150

40. Table: GeneralRoutineActivity

ColumnName DataType DataSize Key Column Description


GRA_ID Big Integer 20 Primary

RoutineID Big Integer 20 Foreign

RoomID Big Integer 20 Foreign

GeneralID Big Integer 20 Foreign

MainHRID Big Integer 20 Foreign

BatchID Big Integer 20 Foreign

41. Table: AsstTeachersEngagement

ColumnName DataType DataSize Key Column Description


GRA_ID Big Integer 20 Foreign
HRID Big Integer 20 Foreign

42. Table: One2OneRoutine

ColumnName DataType DataSize Key Column Description


IndividualRoutineID Big Integer 20 Primary

Date Date

Room Big Integer 20 Foreign

StartTime Time

EndTime Time

IsBreak Boolean 1

IsReporting Boolean 1

CreatedBy Big Integer 20 Foreign

43. Table: One2OneRoutineActivity

ColumnName DataType DataSize Key Column Description


IndividualRoutineID Big Integer 20 Foreign

StudentID Big Integer 20 Foreign

PrescriptionID Big Integer 20 Foreign

SessionsCompleted Integer 2

IsReported Boolean 1

44. Table: AdviceHomeWork

ColumnName DataType DataSize Key Column Description


AdviceID Big Integer 20 Primary

StudentID Big Integer 20 Foreign

Message Varchar 255


IsHomework Boolean 1

AddressedBy Big Integer 20 Foreign

45. Table: Album

ColumnName DataType DataSize Key Column Description


StudentID Big Integer 20 Foreign

Title Varchar 100

Description Varchar 255

FileType Varchar 1

FileName Varchar 255

DateRecorded Date

RecordedBy Big Integer 20 Foreign

46. Table: HRAvailability

ColumnName DataType DataSize Key Column Description


HRID Big Integer 20 Foreign

Date Date

StartTime Time

EndTime Time

47. Table: PurchasableItem

ColumnName DataType DataSize Key Column Description


ItemID Big Integer 20 Primary

Title Varchar 100

Packing Varchar 20

Price Integer 10
EffectiveDate Date

48. Table: AdvisedPurchases

ColumnName DataType DataSize Key Column Description


RequisitionID Big Integer 20 Primary

StudentID Big Integer 20 Foreign

AdviceID Big Integer 20 Foreign Optional


TotalPrice Integer 10

CreationDate Date

ApprovalRequired Boolean 1

ApprovedBy Big Integer 20 Foreign Optional


IsBilled Boolean 1

49. Table: AdvisedItems

ColumnName DataType DataSize Key Column Description


RequisitionID Big Integer 20 Foreign

ItemID Big Integer 20 Foreign

UnitCount Big Integer 20 Foreign Optional

You might also like