<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class NotificationSetting extends Model
{
    protected $fillable=[
        'user_id',
        'slug',
        'value'
    ];

    const ALL='all';
    const REQUEST='request';
    const PROMOTION='promotion';
    const MESSAGE='message';
    const ALERT='alert';


    const SLUGS = [
        self::ALL,
        self::REQUEST,
        self::PROMOTION,
        self::MESSAGE,
        self::ALERT
    ];
}
