1234567891011121314151617181920212223 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Administrator
- * Date: 2019/6/5
- * Time: 16:24
- */
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- class PostStore extends Model
- {
- protected $table = 'post_store';
- protected $guarded = [];
- public function imgs()
- {
- return $this->hasMany('App\Models\PostStoreImgs', 'post_store_id', 'id');
- }
- }
|