From e8060144c64cf2f31b71861840c2ca9b9f3174eb Mon Sep 17 00:00:00 2001
From: tobias <thinkdifferent055@gmail.com>
Date: Fri, 7 Apr 2017 20:32:19 +0200
Subject: [PATCH] Add icon and category to plugin

---
 src/main/scala/de/tobias/playpad/server/plugin/Plugin.scala | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/main/scala/de/tobias/playpad/server/plugin/Plugin.scala b/src/main/scala/de/tobias/playpad/server/plugin/Plugin.scala
index e8c32eb..58ddd71 100644
--- a/src/main/scala/de/tobias/playpad/server/plugin/Plugin.scala
+++ b/src/main/scala/de/tobias/playpad/server/plugin/Plugin.scala
@@ -14,8 +14,10 @@ import com.j256.ormlite.table.DatabaseTable
 	@DatabaseField var path: String = _
 	@DatabaseField var version: String = _
 	@DatabaseField var build: Int = _
+	@DatabaseField var icon: String = _
+	@DatabaseField var category: String = _
 
-	def this(name: String, displayName: String, path: String, description: String, version: String, build: Int) {
+	def this(name: String, displayName: String, path: String, description: String, version: String, build: Int, icon: String, category: String) {
 		this()
 		this.name = name
 		this.displayName = displayName
@@ -23,6 +25,8 @@ import com.j256.ormlite.table.DatabaseTable
 		this.description = description
 		this.version = version
 		this.build = build
+		this.icon = icon
+		this.category = category
 	}
 
 	def getId: Int = id
-- 
GitLab