Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
edgrosvenor committed Jun 11, 2024
1 parent 92ba548 commit 7c466a7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Models/DocsidianCategory.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace ArtisanBuild\Docsidian\Models;

use ArtisanBuild\Docsidian\SiteStatus;
use Eloquent;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;

/** @mixin Eloquent */
class DocsidianCategory extends Model
{
protected $guarded = [];

public function docsidian_sites(): HasMany
{
return $this->hasMany(DocsidianSite::class);
}
}

0 comments on commit 7c466a7

Please sign in to comment.