Anons79 Mini Shell

Directory : /home/aplikasiposinfo/public_html/hayyumart.com/app/
Upload File :
Current File : /home/aplikasiposinfo/public_html/hayyumart.com/app/DetailPenjualanRoti.php

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class DetailPenjualanRoti extends Model
{
    use SoftDeletes;
    protected $guarded = [];

    public function harga_roti()
    {
    	return $this->belongsTo(HargaRoti::class,'harga_roti_id')->withTrashed();
    }

    public function penjualan()
    {
    	return $this->belongsTo(Penjualan::class,'no_penjualan')->withTrashed();
    }
}

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]