33 lines
660 B
PHP
33 lines
660 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Altek\Accountant\Contracts\Recordable;
|
|
|
|
class FormulariumTemplate extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = [
|
|
'name',
|
|
'description',
|
|
'active',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'created_at',
|
|
'updated_at',
|
|
// 'deleted_at',
|
|
'created_by',
|
|
'updated_by',
|
|
// 'deleted_by',
|
|
];
|
|
|
|
// public function corporateFormulariums()
|
|
// {
|
|
// return $this->hasMany(CorporateFormularium::class, 'formularium_template_id', 'id');
|
|
// }
|
|
}
|