<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class StockCategoryItems extends Model
{
    protected $primaryKey='category_id';
    protected $table = 'stock_category_items';
    public $timestamps = false;
    protected $fillable=['category_name','dated','in_user'];

    public function items(){
        return $this->hasMany(StockItems::class,'stk_category','category_id');
    }
}
