This commit is contained in:
Fabio Guachalla
2019-09-10 15:11:18 -04:00
committed by Paula Quispe
parent 5344dc7f32
commit 90a8150bd7
13 changed files with 714 additions and 45 deletions

View 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');
}
}