forked from ProcessMaker/processmaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProcessRequestLock.php
More file actions
39 lines (33 loc) · 839 Bytes
/
Copy pathProcessRequestLock.php
File metadata and controls
39 lines (33 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
namespace ProcessMaker\Models;
use Illuminate\Database\Eloquent\Model;
use ProcessMaker\Traits\SqlsrvSupportTrait;
/**
* Represents an Eloquent model of a Request which is an instance of a Process.
*
* @property int $id
* @property int $process_request_id
* @property int $process_request_token_id
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $created_at
* @property ProcessRequest $processRequest
*/
class ProcessRequestLock extends Model
{
use SqlsrvSupportTrait;
protected $connection = 'data';
/**
* The attributes that aren't mass assignable.
*
* @var array
*/
protected $guarded = [
'id',
'created_at',
'updated_at',
];
public function processRequest()
{
return $this->belongsTo(ProcessRequest::class);
}
}