export class AppUser {
    constructor({
        id = '',
        email = '',
        phone = '',
        notifyEmail = false,
        notifySms = false,
        notifyWhatsapp = false,
        timestamp = null,
        topics = []
    } = {}) {
        this.id = id;
        this.email = email;
        this.phone = phone;
        this.notifyEmail = notifyEmail;
        this.notifySms = notifySms;
        this.notifyWhatsapp = notifyWhatsapp;
        this.timestamp = timestamp;
        this.topics = Array.isArray(topics) ? topics : [];
    }
}