2022-08-29 18:44:35 +08:00
|
|
|
import { CommonModel, ReqPage } from '.';
|
2022-08-18 18:54:21 +08:00
|
|
|
|
|
|
|
export namespace Host {
|
|
|
|
export interface Host extends CommonModel {
|
|
|
|
name: string;
|
|
|
|
addr: string;
|
|
|
|
port: number;
|
|
|
|
user: string;
|
|
|
|
authMode: string;
|
|
|
|
description: string;
|
|
|
|
}
|
|
|
|
export interface HostOperate {
|
|
|
|
id: number;
|
|
|
|
name: string;
|
|
|
|
addr: string;
|
|
|
|
port: number;
|
|
|
|
user: string;
|
|
|
|
authMode: string;
|
|
|
|
privateKey: string;
|
|
|
|
password: string;
|
|
|
|
|
|
|
|
description: string;
|
|
|
|
}
|
2022-08-29 18:44:35 +08:00
|
|
|
export interface ReqSearchWithPage extends ReqPage {
|
|
|
|
info?: string;
|
|
|
|
}
|
2022-08-18 18:54:21 +08:00
|
|
|
}
|