12345678910111213141516171819 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- class AppointmentConfig extends BaseModel
- {
- //
- protected $table = 'vr_appointment_config';
- protected $fillable = [
- 'name', 'websites_id','num','make_time_start','make_time_end','start_time','end_time'
- ];
- public function website()
- {
- return $this->hasOne(Website::class, 'id', 'websites_id');
- }
- }
|