0
0

更新代码

This commit is contained in:
2020-08-04 10:09:42 +08:00
parent 6118b5b63b
commit c2ac5d964e
478 changed files with 34410 additions and 0 deletions

19
app/Models/Advert.php Normal file
View File

@@ -0,0 +1,19 @@
<?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();
}
}