0
0
Files
Babyclass/app/Models/Advert.php
2020-08-04 10:09:42 +08:00

20 lines
307 B
PHP

<?php
namespace App\Models;
use RuLong\Panel\Models\Storage;
class Advert extends Model
{
public function storage()
{
return $this->belongsTo(Storage::class)->withDefault();
}
public function seller()
{
return $this->belongsTo(Seller::class)->withDefault();
}
}