Files
Situation-Awareness-Platfor…/src/model/SSHKey.ts
2025-03-12 18:41:20 +08:00

15 lines
332 B
TypeScript

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);
}
}