<?php

namespace Modules\AdvancedTransfer\Entities;


class NstTransaction extends NstBasicModel
{
    /**
     * The attributes that aren't mass assignable.
     *
     * @var array
     */
    protected $guarded = ['id'];

    protected $table = 'nst_transactions';

    protected $fillable = [ 'business_id', 'transaction_date', 'ref_no', 'created_by', ];

    public function nstPrepareStock()
    {
        return $this->hasMany(NstPrepareStock::class);
    }
}
