<?php

namespace Hilco\Models;

use DB;

/**
 * Hilco\Models\FormFieldsAttributes
 *
 * @property integer $id
 * @property integer $formfield_id
 * @property string $attribute_name
 * @property string $attribute_value
 * @property string $date_modified
 * @property string $deleted_at
 */
class FormFieldsAttributes extends WebModel
{
    protected $table = "FormFieldsAttributes";
    protected $fillable = ['attribute_name','attribute_value','formfield_id'];

    public function formField() {
        return $this->belongsTo(FormFields::class, 'formfield_id', 'id');
    }

}
