<?php
namespace KommaApp\Audit\Models;
use Illuminate\Database\Eloquent\Model;
class Document extends Model
{
protected $table = 'documents';
protected $fillable = ['file_name', 'document_group_id'];
static $reviewedInPractice = 3;
static $approved = 2;
static $rejected = 1;
static $notJudged = 0;
public function documentGroup()
{
return $this->belongsTo(DocumentGroup::class);
}
}