cloud-ide-model-schema
Version:
Pachage for schema management of Cloud IDEsys LMS
24 lines (23 loc) • 774 B
TypeScript
import mongoose from "mongoose";
export interface IBackupPolicy {
_id?: string;
bpol_name: string;
bpol_retention_days: number;
bpol_backup_frequency: 'hourly' | 'daily' | 'weekly' | 'monthly';
bpol_encryption_enabled: boolean;
bpol_compression_enabled: boolean;
bpol_auto_cleanup: boolean;
bpol_notification_enabled: boolean;
bpol_notification_emails?: string[];
bpol_description?: string;
bpol_created_by?: string;
bpol_created_at?: Date;
bpol_updated_at?: Date;
bpol_isactive?: boolean;
}
declare const CBackupPolicy: mongoose.Model<IBackupPolicy, {}, {}, {}, mongoose.Document<unknown, {}, IBackupPolicy, {}> & IBackupPolicy & Required<{
_id: string;
}> & {
__v: number;
}, any>;
export { CBackupPolicy };