Last active
May 4, 2017 08:16
-
-
Save dclarke-modus/5a43f276ae11d339e26f458fd97f288f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DataCapturePropertyInfo extends Eloquent | |
{ | |
protected $table = 'DataCapturePropertyInfo'; | |
protected $connection = 'mysql'; | |
protected $primaryKey = 'dataCapturePropertyID'; | |
public $timestamps = false; | |
public function dataCapturePropertiesField() | |
{ | |
return $this->belongsTo("Models\LenderPortal\EnhancedDataCapture\DataCapturePropertiesFields", "dataCapturePropertiesFieldID", "dataCapturePropertiesFieldID"); | |
} | |
} | |
class DataCapturePropertiesFields extends Eloquent | |
{ | |
protected $table = 'DataCapturePropertiesFields'; | |
protected $connection = 'mysql'; | |
protected $primaryKey = 'dataCapturePropertiesFieldID'; | |
public function dataCapturePropertyInfos() | |
{ | |
return $this->hasMany("Models\LenderPortal\EnhancedDataCapture\DataCapturePropertyInfo", "dataCapturePropertiesFieldID", "dataCapturePropertiesFieldID"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment