1234567891011121314151617181920212223242526272829 |
- <?php
- /**
- *
- *
- * @category xxx
- * @package PSR
- * @subpackage Documentation\API
- * @author xxx <xxx@xxx.com>
- * @license GPL https://xxx.com
- * @link https://xxx.com
- * @ctime: 2020/5/13 15:47
- */
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- class ApplyParking extends Model
- {
- protected $table = 'apply_parkings'; // 申请还车点
- protected $guarded = [];
- public function users(){
- return $this->belongsTo(User::class,'user_id','id');
- }
- }
|