/**
 * Namespace Api
 *
 * All backend api type
 */
declare namespace Api {
  /**
   * namespace Art
   *
   * backend api module: "Art"
   */
  namespace Art {
    /** school recruit major history */
    type SchoolRecruitMajorHistory = Common.CommonRecord<{
      /** 历年录取数据ID */
      historyId: CommonType.IdType;
      /** 租户编号 */
      tenantId: CommonType.IdType;
      /** 删除标志（0存在 1删除） */
      delFlag: string;
      /** 对应招录专业ID */
      recruitMajorId: CommonType.IdType;
      /** 学校ID */
      schoolId: CommonType.IdType;
      /** 学校代码 */
      schoolCode: string;
      /** 院校代码 */
      collegeCode: string;
      /** 学校名称 */
      schoolName: string;
      /** 专业ID */
      majorId: CommonType.IdType;
      /** 专业代码 */
      majorCode: string;
      /** 专业名称 */
      majorName: string;
      /** 招生代码 */
      enrollCode: string;
      /** 专业类型 */
      majorType: string;
      /** 专业类别子级 */
      majorTypeSub: string;
      /** 主考科目 */
      mainExamSubject: string;
      /** 年份 */
      year: number;
      /** 科类(文/理) */
      subjectType: string;
      /** 批次 */
      batchName: string;
      /** 录取方式(文*x+专*y) */
      admissionFormula: string;
      /** 录取概率规则运算符 */
      probabilityOperator: string;
      /** 省控线 */
      controlScore: number;
      /** 录取线 */
      admissionScore: number;
      /** 招生人数 */
      planEnroll: number;
      /** 实际投档人数 */
      filedAmount: number;
      /** 录取数 */
      admitAmount: number;
      /** 一志愿录取数 */
      firstChoiceAdmitAmount: number;
      /** 最低分数差 */
      minScoreDiff: number;
      /** 学费(元/年) */
      tuitionFee: number;
      /** 备注 */
      remark: string;
    }>;

    /** school recruit major history search params */
    type SchoolRecruitMajorHistorySearchParams = CommonType.RecordNullable<
      Pick<
        Api.Art.SchoolRecruitMajorHistory,
        | 'recruitMajorId'
        | 'schoolId'
        | 'schoolCode'
        | 'collegeCode'
        | 'schoolName'
        | 'majorId'
        | 'majorCode'
        | 'majorName'
        | 'enrollCode'
        | 'majorType'
        | 'majorTypeSub'
        | 'mainExamSubject'
        | 'year'
        | 'subjectType'
        | 'batchName'
        | 'admissionFormula'
        | 'probabilityOperator'
        | 'controlScore'
        | 'admissionScore'
        | 'planEnroll'
        | 'filedAmount'
        | 'admitAmount'
        | 'firstChoiceAdmitAmount'
        | 'minScoreDiff'
        | 'tuitionFee'
      > &
        Api.Common.CommonSearchParams
    >;

    /** school recruit major history operate params */
    type SchoolRecruitMajorHistoryOperateParams = CommonType.RecordNullable<
      Pick<
        Api.Art.SchoolRecruitMajorHistory,
        | 'historyId'
        | 'recruitMajorId'
        | 'schoolId'
        | 'schoolCode'
        | 'collegeCode'
        | 'schoolName'
        | 'majorId'
        | 'majorCode'
        | 'majorName'
        | 'enrollCode'
        | 'majorType'
        | 'majorTypeSub'
        | 'mainExamSubject'
        | 'year'
        | 'subjectType'
        | 'batchName'
        | 'admissionFormula'
        | 'probabilityOperator'
        | 'controlScore'
        | 'admissionScore'
        | 'planEnroll'
        | 'filedAmount'
        | 'admitAmount'
        | 'firstChoiceAdmitAmount'
        | 'minScoreDiff'
        | 'tuitionFee'
        | 'remark'
      >
    >;

    /** school recruit major history list */
    type SchoolRecruitMajorHistoryList = Api.Common.PaginatingQueryRecord<SchoolRecruitMajorHistory>;
  }
}
