add feature Proses Penawaran Ulang

This commit is contained in:
Andy Chaerudin
2024-10-23 14:25:53 +07:00
parent 5a4cff432a
commit 617e6541fa
13 changed files with 1048 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Modules\Lpj\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
// use Modules\Lpj\Database\Factories\PenawaranDetailTenderFactory;
class PenawaranDetailTenderLog extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*/
protected $table = 'detail_penawaran_logs';
protected $guarded = ['id'];
public function penawaran(): BelongsTo
{
return $this->belongsTo(PenawaranTender::class, 'penawaran_id', 'id');
}
public function penawarandetail(): BelongsTo
{
return $this->belongsTo(PenawaranDetailTender::class, 'detail_penawaran_id', 'id');
}
}