搜索结果列表页面开发
This commit is contained in:
14
src/model/SSHKey.ts
Normal file
14
src/model/SSHKey.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { SSHData } from '@/components/SecretKeyItem/types';
|
||||
|
||||
export class SSHKey implements SSHData {
|
||||
email: string;
|
||||
key: string;
|
||||
createdTime: string;
|
||||
expireTime: string;
|
||||
hasBeenUsed: boolean;
|
||||
authority: string;
|
||||
id: number | string;
|
||||
constructor(originData: SSHData) {
|
||||
Object.assign(this, originData);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user