<?php

namespace App\Core\Models\Product;

use Illuminate\Database\Eloquent\Model;

class Unit extends Model
{
    protected $table = 'units';

    protected $fillable = [
        'uuid',
        'company_id',
        'name',
        'short_code',
    ];

    public function products()
    {
        return $this->hasMany(Product::class);
    }
}
