<commit_before><?php

namespace interactivesolutions\honeycombecommerceorders\app\models\ecommerce;

use Illuminate\Database\Eloquent\Model;
use interactivesolutions\honeycombecommercecarriers\app\models\ecommerce\HCECCarriers;

class HCECCartCarrier extends Model
{
    /**
     * The database table used by the model.
     *
     * @var string
     */
    protected $table = 'hc_cart_carrier';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['cart_id', 'carrier_id', 'note'];

    /**
     * Relation to cart
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function cart()
    {
        return $this->belongsTo(HCECCarts::class, 'cart_id', 'id');
    }

    /**
     * Relation to cart
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function carrier()
    {
        return $this->belongsTo(HCECCarriers::class, 'carrier_id', 'id');
    }
}<commit_msg>model fix for cartcarriers item<commit_after><?php

namespace interactivesolutions\honeycombecommerceorders\app\models\ecommerce;

use interactivesolutions\honeycombcore\models\HCModel;
use interactivesolutions\honeycombecommercecarriers\app\models\ecommerce\HCECCarriers;

class HCECCartCarrier extends HCModel
{
    /**
     * The database table used by the model.
     *
     * @var string
     */
    protected $table = 'hc_cart_carrier';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['cart_id', 'carrier_id', 'note'];

    /**
     * Relation to cart
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function cart()
    {
        return $this->belongsTo(HCECCarts::class, 'cart_id', 'id');
    }

    /**
     * Relation to cart
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function carrier()
    {
        return $this->belongsTo(HCECCarriers::class, 'carrier_id', 'id');
    }
}
{'fraction_non_alphanumeric': 0.12079883097905504, 'fraction_numerical': 0.0, 'mean_word_length': 2.7550274223034736, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6072093', 'n_tokens_mistral': 664, 'n_tokens_neox': 653, 'n_words': 124}