import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose';

@Schema({ _id: false })
export class NotificationPrefs {
    @Prop({ default: true })
    email: boolean;

    @Prop({ default: true })
    whatsapp: boolean;
}

export const NotificationPrefsSchema = SchemaFactory.createForClass(NotificationPrefs);
