/**
 * Namespace Api
 *
 * All backend api type
 */
declare namespace Api {
  /**
   * namespace Art
   *
   * backend api module: "Art"
   */
  namespace Art {
    /** school recruit major */
    type SchoolRecruitMajor = Common.CommonRecord<{
      /** 院校招录专业ID */
      recruitMajorId: CommonType.IdType;
      /** 租户编号 */
      tenantId: CommonType.IdType;
      /** 删除标志（0存在 1删除） */
      delFlag: string;
      /** 学校ID */
      schoolId: CommonType.IdType;
      /** 学校代码 */
      schoolCode: string;
      /** 学校名称(冗余) */
      schoolName: string;
      /** 年份 */
      year: number;
      /** 专业ID */
      majorId: CommonType.IdType;
      /** 专业代码 */
      majorCode: string;
      /** 专业名称 */
      majorName: string;
      /** 招生代码(为空则存空串) */
      enrollCode: string;
      /** 数据状态(停招/新招/新增) */
      dataStatus: string;
      /** 批次 */
      batchName: string;
      /** 专业类型 */
      majorType: string;
      /** 二级专业类型 */
      majorTypeSub: string;
      /** 科类(文/理) */
      subjectType: string;
      /** 录取方式缩写 */
      admissionWayShort: string;
      /** 对外录取方式 */
      admissionWayExternal: string;
      /** 对外录取方式运算符 */
      admissionWayExternalOp: string;
      /** 内部录取方式 */
      admissionWayInternal: string;
      /** 内部录取方式运算符 */
      admissionWayInternalOp: string;
      /** 计划招生人数 */
      planEnroll: number;
      /** 主考科目 */
      mainExamSubject: string;
      /** 学制(年) */
      schoolingYears: number;
      /** 院校限制说明 */
      enrollLimitDesc: string;
      /** 学费(元/年) */
      tuitionFee: number;
      /** 文化分数限制 */
      cultureScoreLimit: number;
      /** 专业分数限制 */
      majorScoreLimit: number;
      /** 语文成绩限制 */
      chineseScoreLimit: number;
      /** 英语成绩限制 */
      englishScoreLimit: number;
      /** 备注 */
      remark: string;
    }>;

    /** school recruit major search params */
    type SchoolRecruitMajorSearchParams = CommonType.RecordNullable<
      Pick<
        Api.Art.SchoolRecruitMajor,
        | 'schoolId'
        | 'schoolCode'
        | 'schoolName'
        | 'year'
        | 'majorId'
        | 'majorCode'
        | 'majorName'
        | 'enrollCode'
        | 'dataStatus'
        | 'batchName'
        | 'majorType'
        | 'majorTypeSub'
        | 'subjectType'
        | 'admissionWayShort'
        | 'admissionWayExternal'
        | 'admissionWayExternalOp'
        | 'admissionWayInternal'
        | 'admissionWayInternalOp'
        | 'planEnroll'
        | 'mainExamSubject'
        | 'schoolingYears'
        | 'enrollLimitDesc'
        | 'tuitionFee'
        | 'cultureScoreLimit'
        | 'majorScoreLimit'
        | 'chineseScoreLimit'
        | 'englishScoreLimit'
      > &
        Api.Common.CommonSearchParams
    >;

    /** school recruit major operate params */
    type SchoolRecruitMajorOperateParams = CommonType.RecordNullable<
      Pick<
        Api.Art.SchoolRecruitMajor,
        | 'recruitMajorId'
        | 'schoolId'
        | 'schoolCode'
        | 'schoolName'
        | 'year'
        | 'majorId'
        | 'majorCode'
        | 'majorName'
        | 'enrollCode'
        | 'dataStatus'
        | 'batchName'
        | 'majorType'
        | 'majorTypeSub'
        | 'subjectType'
        | 'admissionWayShort'
        | 'admissionWayExternal'
        | 'admissionWayExternalOp'
        | 'admissionWayInternal'
        | 'admissionWayInternalOp'
        | 'planEnroll'
        | 'mainExamSubject'
        | 'schoolingYears'
        | 'enrollLimitDesc'
        | 'tuitionFee'
        | 'cultureScoreLimit'
        | 'majorScoreLimit'
        | 'chineseScoreLimit'
        | 'englishScoreLimit'
        | 'remark'
      >
    >;

    /** school recruit major list */
    type SchoolRecruitMajorList = Api.Common.PaginatingQueryRecord<SchoolRecruitMajor>;
  }
}
