Move models to proper ProcessMaker Model namespace.
This commit is contained in:
committed by
Paula Quispe
parent
6b8065a98f
commit
9aec728509
@@ -17,5 +17,13 @@ class Process extends Model
|
||||
// We do have a created at, but we don't store an updated at
|
||||
const CREATED_AT = 'PRO_CREATE_DATE';
|
||||
const UPDATED_AT = null;
|
||||
|
||||
/**
|
||||
* Retrieve all applications that belong to this process
|
||||
*/
|
||||
public function applications()
|
||||
{
|
||||
return $this->hasMany(Application::class, 'PRO_ID', 'PRO_ID');
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user