import { RequireInteractiveControl } from "./Interactive Component/RequireInteractiveControl";

export interface SystemSetting {
    id: string;
    name: string;
    value: string;
    description: string;
    isEncryptedValue: boolean;
    groupName: string;
};

export class SystemSettingClass implements SystemSetting, RequireInteractiveControl {
    isSelected: boolean;
    description: string;
    name: string;
    value: string;
    isLocked: boolean;
    id: string;
    isEncryptedValue: boolean;
    groupName: string;
};

export namespace SystemSettingFunc {
    export function empty(): SystemSettingClass {
        return {
            isSelected: false,
            isLocked: false,
            id: "",
            name: "",
            value: "",
            description: "",
            isEncryptedValue: false,
            groupName: "",
        }
    }
}
