update newcoding dlm lelong show
This commit is contained in:
@@ -30,4 +30,13 @@ class Cawangan extends Model
|
||||
'para2',
|
||||
'para3',
|
||||
];
|
||||
public function lelongBid()
|
||||
{
|
||||
return $this->hasMany(LelongBid::class, 'caw_id', 'caw_id');
|
||||
}
|
||||
|
||||
public function cawangan()
|
||||
{
|
||||
return $this->hasOne(Cawangan::class, 'id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user