<?php

namespace App\Models;

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

class JewelryDiamond extends Model
{
    protected $fillable = [
        'jewelry_id',
        'diamond_type',
        'diamond_size',
        'diamond_pcs',
        'diamond_ct',
        'diamond_rate',
        'diamond_value'
    ];

    public function jewelry()
    {
        return $this->belongsTo(Jewelry::class);
    }
}
