/**
 * Namespace Api
 *
 * All backend api type
 */
declare namespace Api {
  /**
   * namespace Art
   *
   * backend api module: "Art"
   */
  namespace Art {
    /** school college */
    type SchoolCollege = Common.CommonRecord<{
      /** 主键ID */
      collegeId: CommonType.IdType;
      /** 租户编号 */
      tenantId: CommonType.IdType;
      /** 学校ID */
      schoolId: CommonType.IdType;
      /** 学院编码(可选) */
      collegeCode: string;
      /** 学院名称 */
      collegeName: string;
      /** 学院介绍 */
      introduction: string;
      /** 排序 */
      sortNo: number;
      /** 删除标志（0代表存在 1代表删除） */
      delFlag: string;
      /** 备注 */
      remark: string;
    }>;

    /** school college search params */
    type SchoolCollegeSearchParams = CommonType.RecordNullable<
      Pick<Api.Art.SchoolCollege, 'schoolId' | 'collegeCode' | 'collegeName' | 'introduction' | 'sortNo'> &
        Api.Common.CommonSearchParams
    >;

    /** school college operate params */
    type SchoolCollegeOperateParams = CommonType.RecordNullable<
      Pick<
        Api.Art.SchoolCollege,
        'collegeId' | 'schoolId' | 'collegeCode' | 'collegeName' | 'introduction' | 'sortNo' | 'remark'
      >
    >;

    /** school college list */
    type SchoolCollegeList = Api.Common.PaginatingQueryRecord<SchoolCollege>;
  }
}
