akaunting/app/Models/Module/ModuleHistory.php

23 lines
450 B
PHP
Raw Permalink Normal View History

2017-09-14 22:21:00 +03:00
<?php
namespace App\Models\Module;
2019-11-16 10:21:14 +03:00
use App\Abstracts\Model;
2017-09-14 22:21:00 +03:00
class ModuleHistory extends Model
{
protected $table = 'module_histories';
/**
* Attributes that should be mass-assignable.
*
* @var array
*/
2021-09-07 10:33:34 +03:00
protected $fillable = ['company_id', 'module_id', 'version', 'description', 'created_from', 'created_by'];
public function module()
{
return $this->belongsTo('App\Models\Module\Module');
}
2017-09-14 22:21:00 +03:00
}