Exemplo n.º 1
0
def create_company_feed_notify(create_company_profile, create_manuscript, create_feed):
    company_feed_notify = CompanyFeedNotify.objects.create(
        company=create_company_profile,
        manuscript=create_manuscript,
        feed=create_feed,
        date_start=get_current_date(),
        time_start=get_current_time().time(),
        time_end=get_current_time().time(),
        status=1,
        uuid=uuid.uuid4(),
    )
    return company_feed_notify
Exemplo n.º 2
0
def create_orientation_plan(create_orientation):
    orientation_plan = OrientationPlan.objects.create(
        orientation=create_orientation,
        start_date=get_current_date(),
        end_date=get_current_date(),
        start_time=get_current_time().time(),
        end_time=get_current_time().time(),
        reserve_end_date=get_current_date(),
        reserve_start_date=get_current_date(),
        map_info="map info",
        place="place",
        is_address=1,
        is_accept_reservation=1,
    )
    return orientation_plan
Exemplo n.º 3
0
def create_special_feature():
    special_feature = SpecialFeature.objects.create(
        year=2020,
        type=1,
        for_event_flg=1,
        image=settings.DEFAULT_STUDENT_AVT,
        title="title",
        outline="outline",
        publication_start_date=get_current_time(),
        publication_end_date=get_current_time(),
        status=1,
        pv_count=1,
        description="description",
    )
    return special_feature
Exemplo n.º 4
0
def create_event_company_student(create_event_company, create_student):
    event_company_student = EventCompanyStudent.objects.create(
        event_company=create_event_company,
        student=create_student,
        date_join=get_current_time(),
        status=1,
    )
    return event_company_student
Exemplo n.º 5
0
def create_event():
    event = Event.objects.create(
        target_year=2022,
        class_division="class division",
        event_name="event",
        pdf_name="pdf name",
        image=settings.DEFAULT_STUDENT_AVT,
        date=get_current_date(),
        start_time=get_current_time().time(),
        end_time=get_current_time().time(),
        place="place",
        place_google="place google",
        stamp="stamp",
        reserve_start=get_current_date(),
        reserve_end=get_current_date(),
        release_url="release_url",
        release_date=get_current_date(),
        publication_end=get_current_date(),
    )
    return event
Exemplo n.º 6
0
def create_manuscript_student_relation(create_company_profile, create_manuscript):
    manuscript_student_relation = ManuscriptStudentRelation.objects.create(
        manuscript=create_manuscript,
        status_0=1,
        follow_time=get_current_time(),
        status_1=1,
        status_2=1,
        status_3=1,
        status_4=1,
        status_5=1,
        status_6=1,
        status_05=1,
        status_7=1,
        status_8=1,
        entry_time=get_current_time(),
        message_flg=1,
        remark="remark",
        company=create_company_profile,
        status_05_created_at=get_current_time(),
    )
    return manuscript_student_relation
Exemplo n.º 7
0
def create_manuscript(create_student, create_company_profile, create_plan):
    manuscript = Manuscript.objects.create(
        type=1,
        year=2020,
        order=1,
        company_description="company description",
        reported=1,
        accept_entry_flg=1,
        auto_follow_flg=1,
        display_new_flg=1,
        mail_dm_flg=1,
        push_feed_flg=1,
        personal_message_flg=1,
        production_of_job_drafts_feed=1,
        auto_reply_message_ctm=1,
        mail_dm_count=1,
        manuscript_plan_type=1,
        publish_status=1,
        press_status=1,
        assign_status=1,
        manuscript_status=1,
        recruitment_status=1,
        assign_writer=1,
        creative_agency=1,
        push_feed_count=1,
        mail_dm_count_reality=1,
        push_feed_count_reality=1,
        display_recommended_count=1,
        pickup_count=1,
        publication_start_date=get_current_time(),
        publication_end_date=get_current_time(),
        created_by=create_student,
        updated_by=create_student,
        company=create_company_profile,
        plan=create_plan,
    )
    return manuscript
Exemplo n.º 8
0
def create_orientation(create_manuscript):
    orientation = Orientation.objects.create(
        manuscript=create_manuscript,
        image=settings.DEFAULT_STUDENT_AVT,
        publication_start_date=get_current_time(),
        name="name",
        needs="need",
        outline="outline",
        free_title_1="free title 1",
        free_title_2="free title 2",
        free_content_1="free content 1",
        free_content_2="free content 2",
        number_of_date=1,
    )
    return orientation
Exemplo n.º 9
0
def create_config_push(create_event):
    config_push = ConfigPush.objects.create(
        title="title",
        body="body",
        date=get_current_date(),
        time=get_current_time().time(),
        graduation_year=2016,
        sex="male",
        literary_class="high",
        living_area="Mars",
        extracurricular="extra",
        event_day="2025-10=10",
        event_reservation_status="good",
        event_attendance_status="many",
        department="Finance",
        school_division="Banking",
        event=create_event,
    )
    return config_push
Exemplo n.º 10
0
def create_event_company(create_event, create_company):
    event_company = EventCompany.objects.create(
        event=create_event,
        company=create_company,
        date_join=get_current_date(),
        store_code=23,
        created_at=get_current_time(),
        company_join_status=3,
        number_join_status=4,
        plan_date=4,
        company_name="Company 1",
        phonetic="lulu",
        catch_copy="eataw",
        job_category="type 1",
        contact="japan",
        job_information="no idea",
        literature="tawet",
        edu_background="high",
        empl_location="hiroshima",
        school_completion_status="done",
        participation_schedule="yes",
        booth_signboard="yeah",
    )
    return event_company