Created
March 7, 2017 05:26
-
-
Save Baruch4413/8405a5740fff614e417b9458d3b655f3 to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
namespace Qc\Models; | |
class Specimens extends \Phalcon\Mvc\Model | |
{ | |
public function initialize(){ | |
$this->belongsTo( | |
"sample_id", | |
"Qc\\Models\\Samples", | |
"id" | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment