summaryrefslogtreecommitdiff
path: root/ssh/app/Article.php
diff options
context:
space:
mode:
Diffstat (limited to 'ssh/app/Article.php')
-rw-r--r--ssh/app/Article.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/ssh/app/Article.php b/ssh/app/Article.php
deleted file mode 100644
index 9f11ea3..0000000
--- a/ssh/app/Article.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-namespace App;
-
-use Illuminate\Database\Eloquent\Model;
-
-class Article extends Model
-{
- protected $table = "view_article";
-
- protected $fillable = [
- ];
-
- public function getDiscussions() {
- #return $this->hasMany('App\Discussion', 'article_id', 'id');
- return $this->hasMany('App\Discussion');
- }
-
- public function getCategories() {
- return $this->belongsToMany('App\Category', 'article_category');
- }
-}
-