travel/service/app/model/Sales.php

8 lines
202 B
PHP
Raw Permalink Normal View History

2024-06-24 11:52:30 +08:00
<?php
namespace app\model;
class Sales extends base{
public function admin() {
return $this->belongsTo(Admins::class, 'admin_id')->visible(['name','username','avatar','is_anchor']);
}
}