]> Raphaƫl G. Git Repositories - blogbundle/blobdiff - Entity/ArticleKeyword.php
Add entities
[blogbundle] / Entity / ArticleKeyword.php
diff --git a/Entity/ArticleKeyword.php b/Entity/ArticleKeyword.php
new file mode 100644 (file)
index 0000000..287f491
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+namespace Rapsys\BlogBundle\Entity;
+
+/**
+ * ArticleKeyword
+ */
+class ArticleKeyword
+{
+    /**
+     * @var integer
+     */
+    private $article_id;
+
+    /**
+     * @var integer
+     */
+    private $keyword_id;
+
+    /**
+     * Constructor
+     */
+    public function __construct($article_id, $keyword_id) {
+           $this->article_id = $article_id;
+           $this->keyword_id = $keyword_id;
+    }
+}