wz-management-fronted/src/typings/api/art.school-college.api.d.ts

53 lines
1.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 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>;
}
}