PMC-778
This commit is contained in:
committed by
Paula Quispe
parent
5344dc7f32
commit
90a8150bd7
33
workflow/engine/src/ProcessMaker/Model/AbeRequest.php
Normal file
33
workflow/engine/src/ProcessMaker/Model/AbeRequest.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace ProcessMaker\Model;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class AbeRequest extends Model
|
||||
{
|
||||
protected $table = "ABE_REQUESTS";
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* Relation between application
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\HasOne
|
||||
*/
|
||||
public function application()
|
||||
{
|
||||
return $this->hasOne(Application::class, 'APP_UID', 'APP_UID');
|
||||
}
|
||||
|
||||
/**
|
||||
* Relation between abeConfiguration
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\HasOne
|
||||
*/
|
||||
public function abeConfiguration()
|
||||
{
|
||||
return $this->hasOne(AbeConfiguration::class, 'ABE_UID', 'ABE_UID');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user