Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dclarke-modus/5a43f276ae11d339e26f458fd97f288f to your computer and use it in GitHub Desktop.
Save dclarke-modus/5a43f276ae11d339e26f458fd97f288f to your computer and use it in GitHub Desktop.
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