'timestamp', ]; public function customer() { return $this->morphMany(Record::class, ['sender_identify', 'sender_id'], 'customer'); } public function user() { return $this->belongsTo(ShopUser::class, 'auth_id'); } public function customerService() { return $this->belongsTo(CustomerService::class, 'customer_service_id'); } }