database schema final

Upload: meethenil

Post on 06-Apr-2018

232 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 Database Schema Final

    1/13

    Data Dictionary of Job Portal

    Table 1:--

    Name: location_master

    Description: Holds the country, state and city

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 location_id Number(9) P.K. Holds unique id for location

    name

    2 location_name Varchar(30) Not Null Holds name for the locations

    3 parent_id Number(9) F.K.

    (location_mast

    er) self

    reference

    identify the which state of which

    country and,

    which city of which state

    Table 2: --

    Name: security_question_master

    Description: Holds security questions to be asked for authentication

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 question_id Number(1) P.K. Holds security question id

    2 question_text Varchar(30) Not Null Holds the question

    Table 3: --

    Name: qualification_master

    Description: Holds the qualification degree id and names

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 course_id Number(3) P.K. Holds the unique id for degree

    names

    2 course_name Varchar(50) Not Null Holds the name for Degree and

    Certification courses

    3 course_type Char(1) Not Null Holds:

    Secondary(S), Higher

    Secondary(H),Diploma(D),Under

    Graduate(U),Post Graduate(P)

  • 8/2/2019 Database Schema Final

    2/13

    Table 4: --

    Name: Extra_course

    Description: Holds the extra course/degree details enter by seeker

    Fields

    Sr. No. Field Name Field Type Constraints Description1 seeker_id Varchar(30) F.K.

    (seeker_login)

    Refers the seeker-id for seeker

    from login table

    2 extra_course_name Varchar(50) Not Null Holds the name for Degree and

    Certification courses

    Table 5: --

    Name: industry_domain_master

    Description: Holds Industry Domain names and IDs

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 domain_id Number(2) P.K. Holds the unique domain-name

    id for the domain names

    2 domain_name Varchar(25) Not Null Holds Industry domain names

    Table 6: --

    Name: job_role_master

    Description: Holds job-roles and their IDs

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 job_role_id Number(2) P.K. Holds unique id for the Job

    Roles

    2 job_role Varchar(30) Not Null Holds the Job Roles

    Table 7:--

    Name: job_area_expert_master

    Description: Holds the details of expertise

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 expert_area_id Number(3) P.K. Holds the unique id for the role

    names

    2 expert_area Varchar(30) Not Null Holds Industry role names

  • 8/2/2019 Database Schema Final

    3/13

    Table 8:--

    Name: seeker_login

    Description: Holds login details for seeker

    Fields

    Sr. No. Field Name Field Type Constraints Description1 seeker_id varchar(30) P.K. Holds the unique id of job seeker

    2 email_id Varchar(255) Unique Key,

    Not Null

    Holds the email-id for the

    seeker, use for login

    3 password Varchar(100) Not Null Holds the password for the user

    4 queston_id Number(1) F.K.

    (security_ques

    tion_master),

    Not Null

    Holds the Security Question ID

    5 answer Varchar(30) Not Null Holds the Security Question

    answer

    6 registration_date Datetime Default=system-date

    Holds account creation date

    Table 9:--

    Name: recruiter_login

    Description: Holds login details for recruiter

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 recruiter_id varchar(30) P.K. Holds the unique id of job

    recruiter

    2 email_id Varchar(30) Unique Key,

    Not Null

    Holds the email-id for the

    recruiter, use for login

    3 password Varchar(100) Not Null Holds the password for the user

    4 queston_id Number(1) F.K.

    (security_ques

    tion_master),

    Not Null

    Holds the Security Question ID

    5 Answer Varchar(75) Not Null Holds the Security Question

    answer

    6 registration_date Datetime Default=

    system-date

    Holds account creation date

  • 8/2/2019 Database Schema Final

    4/13

    Table 10: --

    Name: job_seeker_qualification

    Description: Describes qualification details of the job seeker

    Fields

    Sr. No. Field Name Field Type Constraints Description1 seeker_id varchar(30) F.K.

    (seeker_login)

    Holds seeker id that refers

    seeker_login table

    2 course_id Number(3) F.k.

    (qualification_

    master)

    Holds couse id which is

    completed by user

    3 percentage Number(5,2) Holds the percentage of the

    particular course of seeker

    4 passing_year Number(4) Holds the year of passing of

    particular course

    5 university Varchar(40) Holds the university name in

    which seeker passed particularcourse

  • 8/2/2019 Database Schema Final

    5/13

    Table 11: --

    Name: job_recruiter_registeration

    Description: Holds Registeration Details for Job Recruiter

    Fields

    Sr. No. Field Name Field Type Constraints Description1 recruiter_id Varchar(30) F.K.

    (recruiter_logi

    n )

    Holds the recruiter-id

    2 org_name Varchar(40) Not Null Organization name

    3 org_address_line_1 Varchar(50) Not Null Organization Address

    4 org_address_line_2 Varchar(50) Not Null Organization Address

    5 location_id Number(9) F.K.

    (location_mast

    er)

    Holds the location id

    6 pin_code Number(6) Holds pin-code for the city

    7 Website Varchar(50) Holds the website address of theOrganization

    8 fax_number Varchar(20) Holds fax number of the

    Organization

    9 contact_no_1 Varchar(20) Not Null Contact Number 1 of the

    Organization

    10 contact_no_2 Varchar(20) Contact Number 2 of the

    Organization

    11 email_id Varchar(30) Not Null Holds e-mail of the Organization

    12 contact_person_name Varchar(40) Holds Contact person details of

    the Organization

    13 last_modified_date Date Default=system-date Holds date at the time profile ismodified

    14 image_path Varchar(100) Holds the image location for the

    server

  • 8/2/2019 Database Schema Final

    6/13

    Table 12:--

    Name: job_post_details

    Description: Holds Job Posted by Recruiter and Posts details

    Fields

    Sr. No. Field Name Field Type Constraints Description1 job_post_id Number(7) P.K. Job Post unique ID

    2 recruiter_id varchar(30) F.K.

    (recruiter_logi

    n)

    Refer to the recruiter id of login

    table

    3 domain_id Number(2) F.K.

    (industry_dom

    ain_master)

    Refer to the domain_id of

    domain_master table

    4 job_role_id Number(2) F.K.

    (job_role_mast

    er)

    Refer to the job_role_id of

    job_role_master table

    5 job_post_title Varchar(30) Not Null The title of the job6 job_post_description Varchar(300) Brief information about the job

    provided by company/recruiter

    7 job_vacancy Number(4) Number of vacancies for the

    posted job

    8 activation_date Date The date of activation at the

    time job is posted on the site

    9 inactivation_date Date The date at which time job will

    remove from the site

    10 job_type Char(1) Default: a Any(a), Full-time(f), Part-time(p)

    11 min_pay_scale Number(10) Define minimum salary package

    per annum

    12 max_pay_scale Number(10) Define maximum salary package

    per annum

    13 branch_name Varchar(30) Branch of the company for job

    14 branch_address Varchar(100) Address of the branch

    15 location_id Number(9) F.K.

    (location_mast

    er)

    Refers to the location id of

    location master table

    16 job_post_status Char(1) Default: u Publish/Active(a),

    Unpublished(u), Inactive(i)

    17 Gender Char(1) Default: a Preffered gender for the job,

    Male(m), Female(f), Any(a)

    18 contact_person_name Varchar(40) Contact person for job

    19 contact_mail Varchar(30) Contact e-mailID

    20 contact_phone Varchar(20)

    21 min_age Number(2) Minimum Age in Years

    22 max_age Number(2) Maximum Age in Years

    23 min_experience Number(2) Minimum Experience in Years

    24 max_experience Number(2) Maximum Experience in Years

  • 8/2/2019 Database Schema Final

    7/13

    Table 13: --

    Name: Job_recruiter_jobpost_required_degree

    Description: Describes information of degree/course for job post

    Fields

    Sr. No. Field Name Field Type Constraints Description1 job_post_id Number(7) F.K.

    (job_post_deta

    ils)

    Holds job post id that refer to

    jobpost_master table

    2 course_id Number(3) F.K.

    (qualification_

    master)

    Holds course id that refers to

    qualification_master table

    Table 14: --

    Name: job_recruiter_tag

    Description: Describes tagging information for job recruiter

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 tag_id Number(9) P.K. Holds tag id done by recruiter

    2 recruiter_id Varchar(30) F.K.

    (recruiter_logi

    n)

    Holds Recruiter id that refers

    recruiter_login table

    3 tag_name Number(20) Not null Holds tag name

    Table 15: --Name: job_recruiter_tag_items

    Description: Describes tagged job seeker information of the job seeker for recruiter

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 tag_id Number(9) F.K.

    (job_recruiter_

    tag)

    Holds tag id refer to

    jobrecruiter_tag table

    2 seeker_id Varchar(30) F.K.

    (seeker_login)

    Holds seeker id that refers

    seeker_login table

  • 8/2/2019 Database Schema Final

    8/13

    Table 16: --

    Name: Job_recruiter_sort_list

    Description: Describes sort listed job seeker selected by job recruiter

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 job_post_id Number(7) F.K.

    (job_post_deta

    il)

    Refers to job post id that refer to

    jobpost_master table

    2 seeker_id varchar(30) F.K.

    (seeker_login)

    Holds seeker id that refers

    seeker_login table

    3 sort_list_date Date Date on which recruiter sort list

    seeker

    Table 17:--

    Name: Job_seeker_expert_experience

    Description: Describes experience of job seeker in expert area

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 seeker_id varchar(30) F.K.

    (seeker_login)

    Holds seeker id that refers login

    table

    2 expert_area_id Number(3) F.K.

    (expert_area_

    master)

    Holds expert_area_id refers

    expert_area_master table

    3 Experience Number(2) Default=0 Experience in year

    Table 18: --

    Name: language_master

    Description: Describes language details

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 language_id number(3) P.k holds unique id for language

    2 Language varchar(30) holds the language like English

    ,hindi,gujrati, etc..

  • 8/2/2019 Database Schema Final

    9/13

    Table 19: --

    Name: job_seeker_languageDescription: Describes details of language known by seeker

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 seeker_id varchar(30) F.K.

    (seeker_login)

    refers to seeker id of

    seeker_login table

    2 language_id number(3) F.K.

    (language_mas

    ter)

    Holds language id that refers

    language_master table

    3 Proficiency number(1) define proficiencies that are

    1=read,2=write,4=speak,

    3=read+write,5=read+speak,6=s

    peak+write,7=all

  • 8/2/2019 Database Schema Final

    10/13

    Table 20:--

    Name: Job_seeker_registrationDescription: Records information regarding job seeker.

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 seeker_id varchar(30) P.K.

    F.K.

    (seeker_login)

    Holds unique id for seeker that

    refers seeker_login table

    2 first_name Varchar(20) Not null Holds first name for the seeker

    3 middle_name Varchar(20) Holds middle name for the

    seeker

    4 last_name Varchar(20) Holds last name for the seeker

    5 Gender Char(1) Not null Gender of seeker(M for male, F

    for Female)

    6 date_of_birth Date Holds date of birth of seeker

    7 address_line_1 Varchar(50) Holds address line 1 of the

    seeker

    8 address_line_2 VArchar(50) Holds address line 2 of the

    seeker

    9 location_id Number(9) F.K.

    (location_mast

    er)

    Holds location id that refer

    location_master table

    10 Pincode Number(6) Holds pincode of area

    11 contact_no_1 Varchar(20) Holds contact no of the seeker

    12 contact_no_2 Varchar(20) Holds second contact no of the

    seeker

    13 email_id Varchar(40) Not null Holds email id of the seeker that

    can be use for contact the seeker

    14 resume_location Varchar(100) Holds path of the resume of the

    seeker

    15 image_location Varchar(100) Holds path of the image file of

    seeker

    16 last_modified_date Date Default=syste

    m-date

    Holds date at the time profile is

    modified

  • 8/2/2019 Database Schema Final

    11/13

    Table 21: --

    Name: Job_seeker_jobrequirement_detail

    Description: Describes the details of job that job seeker wants to get a job

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 seeker_id Varchar(30) F.K.

    (seeker_login)

    Holds seeker id that refers

    seeker_login table

    2 domain_id Number(2) F.K.

    (industry_dom

    ain_master)

    Holds domain id that refers

    industry_domain_master

    3 job_role_id Number(2) F.K.

    (job_role_mast

    er)

    Holds job role id that refers

    job_role_master

    4 job_title Varchar(30) Not null Holds the job title regarding job

    he want to get

    5 job_description Varchar(100) Holds the brief description of job

    he want to get

    6 job_type Char(1) Default=a Holds job type(p=part

    time,f=full time,a=any)

    7 job_locations varchar(100) holds locations name in which

    seeker is interested to do job

    Table 22: --

    Name: Job_seeker_tag

    Description: Describes tagging information for job seeker

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 tag_id Number(9) P.K. Holds tag id that refer to tag

    folder

    2 seeker_id varchar(30) F.K.

    (seeker_login)

    Holds seeker id that refers

    seeker_login table

    3 tag_name varchar(20) Not null Holds tag/folder name

  • 8/2/2019 Database Schema Final

    12/13

    Table 23: --

    Name: Job_seeker_tag_items

    Description: Describes tagged job post information of the recruiter for job seeker

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 tag_id Number(9) F.K.

    (job_seeker_ta

    g)

    Refers tag id of jobseeker_tag

    table

    2 job_post_id Number(7) F.K.

    (job_post_deta

    il)

    Refers job post id of jobpost

    table

    Table 24:--Name: Job_seeker_applied

    Description: Describes information that job seeker apply for particular job

    Fields

    Sr. No. Field Name Field Type Constraints Description

    1 seeker_id Varchar(30) F.K.

    (seeker_login)

    Holds seeker id that refers

    seeker_login table

    2 job_post_id Number(7) F.K.

    (job_post_deta

    ils)

    Holds job post id for which job

    seeker applied

    3 apply_date Date Not null Holds date at the time job seeker

    applied for job

    Table 25: --

    Name: user_privilege_detail

    Description: Describes the special users information and privilege added by web site

    administratorFields

    Sr. No. Field Name Field Type Constraints Description

    1 special_user_id varchar(30) P.K. Holds unique special user id

    created by site administrator

    2 email_id Varchar(30) Not null,

    unique

    Holds email id of special user

    with the help of it also special

    user can login

  • 8/2/2019 Database Schema Final

    13/13

    3 Password Varchar(100) Holds password provided to

    special user

    4 question_id Number(1) F.K.

    (Table 4)

    Holds question id that refer to

    question_master table

    5 Answer Varchar(75) Not null Holds answer provided by

    special user which can help toget forgotten password

    6 Privilege Number(1) Not null Provide accessible operations

    that are

    1=insert,2=update,4=delete,

    3=insert+update,5=insert+delete

    ,6=update+delete,7=all