<?php

namespace App\Models;

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

class cunsumtion extends Model
{
    use HasFactory;
    protected $fillable = [
        'code',
        'part_code',
        'user_id',
        'station_code',
        'date',
        'qty',
        'unit',
        'description',
    ];
    public function station(){
        return $this->belongsTo(station::class, "station_code");
    }
}
