. */ declare(strict_types=1); namespace FireflyIII\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\SoftDeletes; /** * Class RecurrenceMeta * * @property string $name * @property string $value */ class RecurrenceMeta extends Model { use SoftDeletes; /** @var array */ protected $casts = [ 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', 'name' => 'string', 'value' => 'string', ]; /** @var array */ protected $fillable = ['recurrence_id', 'name', 'value']; /** @var string */ protected $table = 'recurrences_meta'; /** * @return BelongsTo * @codeCoverageIgnore */ public function recurrence(): BelongsTo { return $this->belongsTo(Recurrence::class); } }