1234567891011121314151617181920212223 |
- <?php
- namespace app\common\model;
- use think\Model;
- class AppointmentTicket extends Model
- {
- protected $autoWriteTimestamp = false;
- //关联专家
- public function specialist()
- {
- return $this->belongsTo('Specialist', 'provider_id');
- }
- //关联放号配置
- public function appointment()
- {
- return $this->belongsTo('Appointment');
- }
- }
|