'string', 'gaze_x' => 'float', 'gaze_y' => 'float', 'timestamp' => 'datetime', 'id_test_sessions' => 'string', ]; protected static function boot() { parent::boot(); static::creating(function ($model) { if (empty($model->id_tobii_data)) { $model->id_tobii_data = (string) \Illuminate\Support\Str::uuid(); } if (empty($model->is_valid)) { $model->is_valid = '0'; } }); } }