<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CrmFilePermission extends Model {
    protected $guarded = ['id'];
    protected $casts = ['can_view'=>'boolean','can_download'=>'boolean','can_replace'=>'boolean','can_delete'=>'boolean'];
    public function user(){ return $this->belongsTo(User::class); }
}
