<?php

namespace App\Models\daily;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use app\Models\invoice\Distribution;

class InvoiceDoc extends Model
{
    use HasFactory;
    public $table = 'daily_distribution_invoice_doc';
    protected $fillable = [
        'dd_id'
    ];

    public function distribution()
    {
        return $this->belongsTo(Distribution::class, 'dailyDistributionId');
    }
}
