cdc-placement-website-backend/CDC_Backend/APIs/constants.py

93 lines
2.2 KiB
Python

BRANCH_CHOICES = [
["CSE", "CSE"],
["EE", "EE"],
["ME", "ME"]
]
BATCH_CHOICES = [
["FIRST", "First"],
["SECOND", "Second"],
["THIRD", "Third"],
["FOURTH", "Fourth"]
]
OFFER_CITY_TYPE = [
['Domestic', 'Domestic'],
['International', 'International']
]
TIERS = [
['psu', 'PSU'],
['1', 'Tier 1'],
['2', 'Tier 2'],
['3', 'Tier 3'],
['4', 'Tier 4'],
['5', 'Tier 5'],
['6', 'Tier 6']
]
TOTAL_BRANCHES = 3 # Total No of Branches
TOTAL_BATCHES = 4 # Total No of Batches
CLIENT_ID = "956830229554-290mirc16pdhd5j7ph7v7ukibo4t1qcp.apps.googleusercontent.com" # Google Login Client ID
TOKEN = "token_id"
EMAIL = "email"
STUDENT = 'student'
ADMIN = 'Admin'
COMPANY = ''
STORAGE_DESTINATION = "./Storage/Resumes/"
STORAGE_DESTINATION_COMPANY_ATTACHMENTS = './Storage/Company_Attachments/'
RESUME_FILE_NAME = 'resume_file_name'
APPLICATION_ID = "application_id"
APPLICATION_OPENING_TYPE = "opening_type"
APPLICATION_OPENING_ID = "opening_id"
APPLICATION_ADDITIONAL_INFO = "additional_info"
STATUS_ACCEPTING_APPLICATIONS = "Accepting Applications"
PLACEMENT = "Placement"
COMPANY_WEBSITE = 'website'
COMPANY_ADDRESS = 'address'
COMPANY_PHONE_NUMBER = 'phone_number'
COMPANY_CONTACT_PERSON_NAME = 'contact_person_name'
OPENING_DESIGNATION = 'designation'
OPENING_DESCRIPTION = 'description'
OPENING_TYPE = 'opening_type'
OPENING_CITY = 'city'
OPENING_CITY_TYPE = 'city_type'
OPENING_COMPENSATION = 'compensation'
OPENING_COMPENSATION_DETAILS = 'compensation_details'
OPENING_ALLOWED_BATCH = 'allowed_batch'
OPENING_ALLOWED_BRANCH = 'allowed_branch'
OPENING_ATTACHMENTS = 'attachments'
OPENING_ROUNDS = 'rounds'
OPENING_ADDITIONAL_INFO = 'additional_info'
OPENING_ROUND_DETAILS = 'round_details'
OPENING_DURATION = 'duration'
OPENING_CO_OP = 'co_op'
OPENING_START_DATE = 'start_date'
BRANCHES = [
"CSE",
"EE",
"ME"
]
BATCHES = [
"FIRST",
"SECOND",
"THIRD",
"FOURTH"
]
COMPANY_OPENING_SUBMITTED_TEMPLATE_SUBJECT = "Notification Submitted - {id} - CDC IIT Dharwad"
STUDENT_APPLICATION_SUBMITTED_TEMPLATE = 'student_application_submitted.html'
COMPANY_OPENING_SUBMITTED_TEMPLATE = 'company_opening_submitted.html'