update code

This commit is contained in:
manhlab
2021-04-07 06:32:42 -04:00
parent 7fb98911a6
commit a4753625f6
779 changed files with 335717 additions and 0 deletions

31
app/Entities/Signer.php Normal file
View File

@@ -0,0 +1,31 @@
<?php
namespace App\Entities;
use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
/**
* Class Signer.
*
* @package namespace App\Entities;
*/
class Signer extends Model implements Transformable
{
use TransformableTrait;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['id', 'name', 'description'];
public $timestamps = false;
public function documents(){
return $this->hasMany(Document::class);
}
}