/**
|
* Namespace Api
|
*
|
* All backend api type
|
*/
|
declare namespace Api {
|
/**
|
* namespace Md
|
*
|
* backend api module: "Md"
|
*/
|
namespace Md {
|
/** instrument */
|
type Instrument = Common.CommonRecord<{
|
/** 编码 */
|
id: CommonType.IdType;
|
/** 仪器代码 */
|
instrumentCode: string;
|
/** 仪器名称 */
|
instrumentName: string;
|
/** 接口标准 */
|
ifStd: string;
|
/** 接口标准代码 */
|
isc: number;
|
/** 所属车间 */
|
workShop: string;
|
/** 启用 */
|
enable: number;
|
/** 删除 */
|
del: number;
|
/** 备注 */
|
instrumentDes: string;
|
}>;
|
|
/** instrument search params */
|
type InstrumentSearchParams = CommonType.RecordNullable<
|
Pick<Api.Md.Instrument, 'instrumentCode' | 'instrumentName' | 'enable'> & Api.Common.CommonSearchParams
|
>;
|
|
/** instrument operate params */
|
type InstrumentOperateParams = CommonType.RecordNullable<
|
Pick<
|
Api.Md.Instrument,
|
'id' | 'instrumentCode' | 'instrumentName' | 'ifStd' | 'isc' | 'workShop' | 'enable' | 'del' | 'instrumentDes'
|
>
|
>;
|
|
/** instrument list */
|
type InstrumentList = Api.Common.PaginatingQueryRecord<Instrument>;
|
}
|
}
|