class MemberNote extends Entity {
    static _name = 'membernote';
    static _defaults = {
        member_skool_id: '',
        community_slug: '',
        content: ''
    };

    static async forMember(skoolId) {
        const res = await get(`/api/member-notes?skool_id=${encodeURIComponent(skoolId)}`);
        return res.ok ? res.data.map(d => new this(d)) : [];
    }
}
