<?php

namespace Modules\Vrc\Entities;

use Illuminate\Database\Eloquent\Model;

class VrcSatisfactionSurvey extends Model
{
    protected $table = 'vrc_satisfaction_surveys';

    protected $fillable = [
        'business_id', 'repair_order_id', 'erp_customer_id', 'vehicle_id',
        'score', 'nps', 'would_recommend', 'comments', 'token', 'submitted_at',
    ];

    protected $casts = [
        'score'           => 'integer',
        'nps'             => 'integer',
        'would_recommend' => 'boolean',
        'submitted_at'    => 'datetime',
    ];
}
