<commit_before><?php
namespace FSS\Models;

/**
 * The "counselee_child" model.
 *
 * @author Dewayne
 *        
 */
class CounseleeChild extends AbstractModel
{

    // The table for this model
    protected $table = "counselee_child";

    // Fields that can be mass-updated/insterted
    protected $fillable = array(
        'school_id',
        'school_problems',
        'long_standing_illnesses',
        'who_else_raised_child'
    );
}
<commit_msg>Added relationship handling<commit_after><?php
namespace FSS\Models;

/**
 * The "counselee_child" model.
 *
 * @author Dewayne
 *        
 */
class CounseleeChild extends AbstractModel
{

    // The table for this model
    protected $table = "counselee_child";

    // Fields that can be mass-updated/insterted
    protected $fillable = array(
        'school_id',
        'school_problems',
        'long_standing_illnesses',
        'who_else_raised_child'
    );
    
    public function Counselee()
    {
        return $this->belongsTo('FSS\Models\Counselee');
    }
    
    public function CounseleeChildBioParent()
    {
        return $this->hasMany('FSS\Models\CounseleeChildBioParent');
    }
    
    public function CounseleeChildGuardian()
    {
        return $this->hasMany('FSS\Models\CounseleeChildGuardian');
    }
    
    public function CounseleeChildSibling()
    {
        return $this->hasMany('FSS\Models\CounseleeChildSibling');
    }
    
    public function School()
    {
        return $this->belongsTo('FSS\Models\School');
    }
}

{'fraction_non_alphanumeric': 0.11038107752956636, 'fraction_numerical': 0.0, 'mean_word_length': 2.5919811320754715, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6175414', 'n_tokens_mistral': 498, 'n_tokens_neox': 478, 'n_words': 91}