<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use App\Scopes\MessageScope;


class Customers extends Model
{
    use SoftDeletes;
    use Encryptable;

    protected static $encryptable = [
        'aadhaar_card'
    ];
    protected static function boot()
    {
        parent::boot();
        static::addGlobalScope(new MessageScope(static::$encryptable));
    }
    protected $fillable = ['name','email','mobile_number','gender','pan_card','aadhaar_card','dob','marital_status','gst_number','is_verified'];

    protected $table = 'customers';
}
