36 lines
568 B
PHP
36 lines
568 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
|
||
|
|
class WorkflowDocumentFile extends Model
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* The table associated with the model.
|
||
|
|
*
|
||
|
|
* @var string
|
||
|
|
*/
|
||
|
|
protected $table = 'workflow_document_files';
|
||
|
|
|
||
|
|
protected $fillable = [
|
||
|
|
'workflow_document_id',
|
||
|
|
'document_type',
|
||
|
|
'document_name',
|
||
|
|
'status',
|
||
|
|
'uploaded_by',
|
||
|
|
'uploader_name',
|
||
|
|
'version',
|
||
|
|
'process_id',
|
||
|
|
'place_of_the_documents',
|
||
|
|
'is_temp',
|
||
|
|
'is_signed',
|
||
|
|
];
|
||
|
|
|
||
|
|
public function isSigned()
|
||
|
|
{
|
||
|
|
return $this->is_signed;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|