package com.yzx.ebrand.model

data class TeacherInfo(
    val academic_degree: Int = 0,
    val academic_degree_describe: String = "",
    val add_time: Int = 0,
    val age: Int = 0,
    val audit_remark: String = "",
    val audit_status: Int = 0,
    val audit_user_id: Int = 0,
    val audit_user_name: String = "",
    val birth_place: String = "",
    val birth_place_json: String = "",
    val birthday: String = "",
    val card_no: String = "",
    val card_no_type: Int = 0,
    val degree_id: Int = 0,
    val editing_time: Int = 0,
    val face_add_time: Int = 0,
    val face_identity: String = "",
    val face_key: String = "",
    val first_part: Int = 0,
    val first_part_describe: Int = 0,
    val first_part_time: Int = 0,
    val head_portrait: String = "",
    val is_commit: Int = 0,
    val is_remind_commit: Int = 0,
    val is_retire_time: Int = 0,
    val is_show_btn: Int = 0,
    val is_syn: Int = 0,
    val marry_status_id: Int = 0,
    val nation: Int = 0,
    val native_place: String = "",
    val native_place_json: String = "",
    val nick_name: String = "",
    val not_incumbency_time: Int = 0,
    val people_identity: Int = 0,
    val people_source_describe: Int = 0,
    val people_source_type: Int = 0,
    val people_type: Int = 0,
    val phone: String = "",
    val professional: String = "",
    val retire_remark: String = "",
    val retire_time: Long = 0,
    val salary_unit_id: Int = 0,
    val school_id: Int = 0,
    val second_part: Int = 0,
    val second_part_describe: Int = 0,
    val second_part_time: Int = 0,
    val sex: Int = 0,
    val status: Int = 0,
    val teach_curriculum: String = "",
    val teach_interval_time: Int = 0,
    val teach_period: Int = 0,
    val teach_start_time: String = "",
    val teach_years: Int = 0,
    val teacherUnits: List<TeacherUnit> = listOf(),
    val teacher_id: Int = 0,
    val teacher_name: String = "",
    val teacher_school_status: Int = 0,
    val urgent_phone: String = "",
    val user_id: Int = 0,
    val user_type: Int = 0,
    val work_interval_time: Int = 0,
    val work_start_time: String = "",
    val work_years: Int = 0
)

data class TeacherUnit(
    val add_time: Int = 0,
    val id: Int = 0,
    val into_unit_time: Int = 0,
    val is_salary_unit: Int = 0,
    val post_level: Int = 0,
    val post_level_name: String = "",
    val status: Int = 0,
    val teacherUnitGroups: List<TeacherUnitGroup> = listOf(),
    val title: Int = 0,
    val title_name: String = "",
    val unit_id: Int = 0,
    val unit_main: Int = 0,
    val unit_main_describe: Int = 0,
    val unit_main_type: Int = 0,
    val unit_name: String = "",
    val user_id: Int = 0
)

data class TeacherUnitGroup(
    val add_time: Int = 0,
    val group_id: Int = 0,
    val group_ids: String = "",
    val group_name: String = "",
    val id: Int = 0,
    val is_leader: Int = 0,
    val job_name: String = "",
    val job_name_id: Int = 0,
    val job_status: Int = 0,
    val job_type: Int = 0,
    val job_type_name: String = "",
    val status: Int = 0,
    val teacher_unit_id: Int = 0
)