<?php

namespace App;

use App\Http\Traits\UsesUuid;
use Illuminate\Database\Eloquent\Model;

class Medicine extends Model
{
    protected $table='medicines';
    use UsesUuid;
    protected $keyType = 'string';
    public $incrementing = false;
    protected $guarded = [];
    public $timestamps=false;


    public function recipe(){
        return $this->hasMany(Recipe::class);
    }
}

{'avg_line_length': 17.772727272727273, 'max_line_length': 45, 'alphanum_fraction': 0.670076726342711, 'licenses': ['MIT'], 'repository_name': 'haerulasnawi/klinik', 'path': 'app/Medicine.php', 'size': 391, 'lang': 'PHP'}