o
    N]h~                     @   sT   d dl mZ d dlmZmZmZmZmZmZm	Z	m
Z
mZ d dlZG dd deZdS )    )BaseCommand)	CourseSemesterSubjectCareerProspectAdmissionStepDirectAdmission	RecruiterWhyJoinTestimonialNc                   @   sX   e Zd ZdZdd Zdd Zdd Zdd	 Zd
d Zdd Z	dd Z
dd Zdd ZdS )Commandz9Create comprehensive content for Business Studies coursesc                 O   s   | j | jd g d}tjj|d}|D ]>}| j d|j d | | | 	| | 
| | | | | | | | | | j | jd|j  q| j | jd d S )Nz2Starting to create Business Studies course content)B.ComBBAzBachelors in Hotel Managementz$Bachelors in Hospital Administrationz
BA EnglishzBA EconomicszBA Tourism & Management
MBA GlobalzMBA in Pharma ManagementMBA Executivez3MBA (with IIM Certification) (Finance/HR/Marketing))	title__inzProcessing z...zCompleted content for z>Successfully created content for all Business Studies courses!)stdoutwritestyleSUCCESSr   objectsfiltertitle_create_semesters_and_subjects_create_career_prospects_create_admission_steps_create_direct_admission_create_recruiters_create_why_join_create_testimonials)selfargsoptionsbusiness_course_titlescoursescourse r&   H/var/www/apihucms/courses/management/commands/create_business_content.pyhandle   s   






zCommand.handlec              	   C   s   d|j v rd}nd}td|d D ]2}tjj||dd| id\}}| ||}|D ]}tjj||d |d |d	 |d
 dd q+qdS )z5Create semester structure and subjects for the courseMBA         namez	Semester )r%   numberdefaultscodecreditsdescription)r0   r1   r2   )semesterr-   r/   N)r   ranger   r   get_or_create_get_subjects_for_semesterr   )r    r%   semester_countsem_numr3   createdsubjectssubject_datar&   r&   r'   r   3   s*   

z&Command._create_semesters_and_subjectsc                 C   s  |j dkrddddddddd	dd
ddddddddddddddgddddddddddddddddddddd d!dd"dgd#d$dd%dd&d'dd(dd)d*dd+dd,d-dd.dd/d0dd1dgd2d3dd4dd5d6dd7dd8d9dd:dd;d<dd=dd>d?dd@dgdAdBddCddDdEddFddGdHddIddJdKddLddMdNddOdgdPdQddRddSdTddUddVdWddXddYdZdd[dd\d]dd^dgd_}n|j d`krddaddbdddcddddddeddfdd
dgddhdddiddjdgddkddldd dmddndd&doddpdd,dqddrdddsdddgdtduddvddSdwddxdd)dyddzdd{d|dd}dd/d~dddgd;ddddd>ddd@ddJddddddddddddddgdMdddOdddddddYdddddGdddddddddgddddUdddddddddddddddddddddgd_}nd|j v r|j dkrdddddddddddddddddddddddddgdddddddddddddddddddddddddgdddddddddddddddddddddddddgdddddddddddddddddddddddddgd}n>dddddd&ddddddddddtdddddYddddgdSdddxddddddd dddddJdddddddddgdddddddddddddddddddddddddgdddddddddddddddd>dddddddddgd}ndddddd ddddddddddddddd	d
dddgdddddddddddddddddddddddddgd}|dkrTd| dd| ddddd| d d| d!dd"dd#| d| d$dd%dd&| d| d'dd(dd)| d| d*dd+dg||< ||g S (,  z9Get subjects for a specific semester based on course typer   zFinancial AccountingCOM101r*   z3Fundamentals of accounting principles and practices)r-   r0   r1   r2   zBusiness EconomicsCOM102z1Economic principles applied to business decisionszBusiness CommunicationCOM103   z,Effective communication in business contextszBusiness MathematicsCOM104z%Mathematical applications in businesszPrinciples of ManagementCOM105z&Basic management concepts and theorieszCorporate AccountingCOM201z$Advanced accounting for corporationszBusiness StatisticsCOM202z)Statistical methods for business analysiszCompany LawCOM203zLegal framework for companieszMarketing ManagementCOM204z%Principles and practices of marketingzHuman Resource ManagementCOM205z)Managing human resources in organizationszCost AccountingCOM301z!Cost analysis and control systemszFinancial ManagementCOM302z&Financial planning and decision makingzBusiness LawCOM303z$Legal aspects of business operationszOrganizational BehaviorCOM304z#Behavioral aspects in organizationszResearch MethodologyCOM305zResearch methods in businesszManagement AccountingCOM401z#Accounting for management decisionszInvestment AnalysisCOM402z,Investment planning and portfolio managementTaxationCOM403zTax laws and compliancezInternational BusinessCOM404zGlobal business operationsEntrepreneurshipCOM405z"Starting and managing new venturesAuditingCOM501z$Principles and practices of auditingzBanking and InsuranceCOM502z+Banking operations and insurance principleszCorporate FinanceCOM503z'Advanced corporate financial managementzBusiness EthicsCOM504z"Ethical considerations in businesszProject ManagementCOM505z(Planning and executing business projectszAdvanced AccountingCOM601z*Complex accounting standards and practiceszStrategic ManagementCOM602z%Strategic planning and implementationzFinancial MarketsCOM603z*Capital markets and investment instrumentszBusiness AnalyticsCOM604z$Data analysis for business decisionszInternship/ProjectCOM605z,Practical experience in business environment)r,      r?   r*      r+   r   BBA101z.Fundamentals of management theory and practiceBBA102z4Basic accounting principles and financial statementsBBA103z'Economic principles in business contextBBA104z+Effective communication skills for businessBBA105z/Mathematical concepts for business applicationsBBA201z!Marketing concepts and strategiesBBA202z"HR practices and people managementBBA203zFinancial planning and analysisBBA204z.Individual and group behavior in organizationsBBA205zOperations ManagementBBA301z$Production and operations managementBBA302z,Strategic planning and competitive advantageBBA303z'Legal framework for business operationszConsumer BehaviorBBA304z.Understanding consumer psychology and behaviorBBA305z"Research methods and data analysisBBA401z*Global business environment and operationsBBA402BBA403z#Ethical decision making in businesszSupply Chain ManagementBBA404z$Managing supply chains and logisticszDigital MarketingBBA405z%Online marketing strategies and toolsBBA501zLeadership DevelopmentBBA502z%Leadership skills and team managementBBA503zData-driven decision makingBBA504zAdvanced financial managementzNegotiation SkillsBBA505z Effective negotiation techniqueszBusiness StrategyBBA601zChange ManagementBBA602zManaging organizational changezInnovation ManagementBBA603z%Fostering innovation in organizationszGlobal Business StrategyBBA604z"International strategic managementzCapstone ProjectBBA605zComprehensive business projectr)   r   zGlobal Business EnvironmentMBA101z-International business context and frameworkszInternational FinanceMBA102z'Global financial markets and managementzCross-Cultural ManagementMBA103z"Managing across different cultureszGlobal MarketingMBA104"International marketing strategieszResearch MethodsMBA105zAdvanced research methodologyzInternational TradeMBA201z#Global trade theories and practiceszGlobal Supply ChainMBA202z%International supply chain managementzInternational EconomicsMBA203z$Global economic systems and policieszMultinational ManagementMBA204z#Managing multinational corporationszGlobal LeadershipMBA205zLeadership in global contextzInternational Business StrategyMBA301z*Strategic management for global businesseszGlobal InnovationMBA302z'Innovation management in global contextzInternational LawMBA303z'Legal aspects of international businesszEmerging MarketsMBA304z,Business opportunities in emerging economieszSustainable BusinessMBA305z!Sustainability in global businesszGlobal ConsultingMBA401z&International consulting methodologieszInternational ProjectMBA402z'Capstone international business projectzGlobal EntrepreneurshipMBA403z&International entrepreneurial ventureszDigital TransformationMBA404z(Technology-driven global business changezInternship/ThesisMBA405z'Practical experience or research thesis)r,   r^   r?   r*   zManagement Fundamentalsz'Core management principles and theoriesz(Advanced financial analysis and planningzStrategic marketing conceptsz!Production and service operationszData-driven business decisionszAdvanced leadership skillszStrategic HR managementzEthical decision makingzManaging innovation and changezSpecialization Course 1zAdvanced specialized knowledgezSpecialization Course 2zApplied specialized conceptszBusiness ResearchzConsulting Skillsz Management consulting techniqueszGlobal Businessz"International business environmentzIndustry InternshipzPractical industry experiencezAdvanced Specializationz"Expert-level specialized knowledgezStarting and scaling businesseszBusiness SimulationzIntegrated business simulationzFoundation Course 1GEN101zBasic concepts and principleszFoundation Course 2GEN102zCore subject fundamentalszCommunication SkillsGEN103zEffective communicationzMathematics/StatisticsGEN104zQuantitative methodszIntroduction to ComputersGEN105zBasic computer skillszIntermediate Course 1GEN201z Building on foundation knowledgezIntermediate Course 2GEN202zApplied concepts and methodsGEN203zResearch methodologyzProfessional SkillsGEN204zProfessional developmentz
Elective 1GEN205zSpecialized elective subject)r,   r^   r^   zAdvanced Course AGEN01B02zApplied advanced conceptszPractical Course 03zHands-on practical experiencez	Elective 04zSpecialized electivezProject Work 05zApplied project work)r   get)r    r%   semester_numsubjects_by_semesterr&   r&   r'   r6   Q   s*  

,
,
""$&"""z"Command._get_subjects_for_semesterc                 C   sp  dddddddddd	d
dddddddddddddgddddddd
dddddddddddddd d!d"dgd#d$d%dd&d'd(dd)d*ddd+d,d-dd.d/d0dd1d2d3dgd4d5d6dd7d8d9dd:d;d<dd=d>d?dd+d@d0ddAdBd"dgdC}| |jdDdEdFddGdHdIddJdKdLdd dMd"ddNdOdPdg}|D ]}tjj||dQ |dR |dS dTdU qdVS )Wz&Create career prospects for the coursezChartered Accountantz-Professional accounting and auditing servicesu   ₹6-15 LPA)r   r2   salary_rangeFinancial Analystz*Financial planning and investment analysisu   ₹4-12 LPAzBanking Professionalz7Banking operations and customer relationship managementu   ₹3-10 LPAzTax Consultantz$Tax planning and compliance serviceszBusiness Analystz)Business process analysis and improvementu   ₹5-14 LPAzFinance Managerz+Corporate financial management and planningu   ₹8-20 LPAzManagement Traineez2Entry-level management positions across industriesu
   ₹3-8 LPAMarketing Executivez'Brand management and marketing strategyzHR Executivez)Human resource management and developmentu
   ₹3-9 LPAzBusiness Development Executivez&Business growth and client acquisitionzOperations Managerz-Operational efficiency and process managementu   ₹5-15 LPAEntrepreneurz+Starting and managing own business venturesVariablezInternational Business Managerz#Managing global business operationsu   ₹12-30 LPAzGlobal Marketing Managerr   u   ₹10-25 LPAzExport-Import Managerz!International trade and logisticszManagement ConsultantzStrategic business consultingu   ₹15-40 LPAzCountry Managerz(Leading operations in specific countriesu   ₹20-50 LPAzGlobal Supply Chain Managerz'International supply chain optimizationu   ₹12-28 LPAzSenior Managerz(Senior management roles across functionsu   ₹15-35 LPADirectorz(Strategic leadership and decision makingu   ₹25-60 LPAzVice PresidentzExecutive leadership positionsu   ₹30-80 LPAzChief Executive OfficerzTop executive leadershipu   ₹50-150 LPAzSenior consulting roleszBoard Memberz!Corporate governance and strategy)r   r   r   r   zIndustry Professionalz&Specialized roles in relevant industryu   ₹4-15 LPAManagerz%Management positions in organizationsu   ₹6-20 LPA
ConsultantzExpert consulting servicesu   ₹8-25 LPAzStarting own ventureszSenior SpecialistzExpert roles in specializationu   ₹10-30 LPAr   r2   r   )r2   r   r%   r   r/   N)r   r   r   r   r5   )r    r%   career_prospects_data	prospectsprospect_datar&   r&   r'   r     sZ   






	





	





	




$




z Command._create_career_prospectsc                 C   s   dddddddddd	d
dddddddddddddddddddddddddg	}|D ]}t jj||d |d |d d d! q1d"S )#z%Create admission steps for the courser,   zCheck Eligibilityz7Verify academic qualifications and eligibility criteria)stepr   r2   r^   zOnline Applicationz+Fill and submit the online application formr?   zDocument Submissionz*Upload required documents and certificatesr*   zApplication Feez"Pay the application processing feer_   zEntrance Testz,Appear for entrance examination or interviewr+   z
Merit Listz%Check merit list and admission status   zAdmission Confirmationz Confirm admission by paying fees   zDocument Verificationz+Physical verification of original documents	   Orientationz(Attend orientation and induction programr   r   r2   r   r2   )r%   orderr/   N)r   r   r5   )r    r%   steps	step_datar&   r&   r'   r   E  s&   








zCommand._create_admission_stepsc                 C   s   t jj|dddd dS )z#Create direct admission informationTzDirect admission process based on academic performance and eligibility criteria. Contact admissions office for direct admission guidance.)is_availabler2   )r%   r/   N)r   r   r5   )r    r%   r&   r&   r'   r   ^  s   
z Command._create_direct_admissionc                 C   s>   g d}t |tdt|}|D ]}tjj||i d qdS )z Create recruiters for the course)&DeloittezEY (Ernst & Young)KPMGPwC	AccentureTCSInfosysWiproIBM	MicrosoftGoogleAmazonFlipkartPaytmZomato	HDFC Bankz
ICICI BankzState Bank of Indiaz	Axis BankzKotak Mahindra BankzReliance IndustrieszAditya Birla GroupzMahindra GroupzBajaj GroupzL&THULzP&GNestleITCzAsian PaintszMaruti SuzukiHyundaiHondaBMWzMercedes-BenzzMcKinsey & CompanyzBoston Consulting GroupzBain & Company   r%   r-   r/   N)randomsampleminlenr	   r   r5   )r    r%   all_recruitersselected_recruitersrecruiter_namer&   r&   r'   r   i  s   zCommand._create_recruitersc              
   C   sp   ddddddddddd	dd
dddddddddddg}|D ]}t jj||d d|d id q$dS )z%Create why join points for the coursezIndustry-Relevant CurriculumzHUpdated curriculum aligned with current industry requirements and trendsr   zExperienced Facultyz8Learn from industry experts and experienced academicianszPractical LearningzCHands-on experience through projects, internships, and case studieszPlacement Supportz<Dedicated placement cell with excellent industry connectionszIndustry PartnershipszIStrong partnerships with leading companies for internships and placementszModern Infrastructurez2State-of-the-art facilities and learning resourceszGlobal Exposurez2International collaborations and exchange programszAlumni Networkz=Strong alumni network across various industries and positionsr   r2   r   N)r
   r   r5   )r    r%   common_points
point_datar&   r&   r'   r     s"   zCommand._create_why_joinc              	   C   s   dddd|j  ddddd	d
|j  dddddd|j  dddddd|j  ddg}|D ]}tjj||d |d |d |d dd q0dS )z"Create testimonials for the coursezPriya Sharmar   r   zThe z program provided me with comprehensive knowledge and practical skills. The faculty support and industry exposure helped me secure a great position in banking.)r-   positioncompanycontentzRahul GuptazBusiness Development ManagerReliancez.Excellent curriculum and amazing faculty. The zc program shaped my career and provided me with leadership skills necessary for the corporate world.zAnjali Patelr   r   zThe practical approach of the zb program and industry collaborations gave me real-world experience. Highly recommend this program.zVikash Kumarr   r   z program provided excellent foundation in business concepts. The placement support was outstanding and helped me achieve my career goals.r-   r   r   r   )r   r   r   r   N)r   r   r   r5   )r    r%   testimonialstestimonial_datar&   r&   r'   r     s>   zCommand._create_testimonialsN)__name__
__module____qualname__helpr(   r   r6   r   r   r   r   r   r   r&   r&   r&   r'   r      s    ( <9r   )django.core.management.baser   courses.modelsr   r   r   r   r   r   r	   r
   r   r   r   r&   r&   r&   r'   <module>   s    ,