summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database/Advantage.cs
diff options
context:
space:
mode:
authorTrueKuehli <rctcoaster2000@hotmail.de>2018-09-30 16:26:42 +0200
committerTrueKuehli <rctcoaster2000@hotmail.de>2018-09-30 16:26:42 +0200
commitf3de85c77706e33b5072dd4b491ff76fdfebccd6 (patch)
treecc024e9a1b8ea081504fbd183fc48edf0ce3b875 /DSACore/Models/Database/Advantage.cs
parent3a67ec1e4530f6b413228c2dc19dd90977ac381c (diff)
parent560f454c9beb2f691730b126fc6b3e23d68d6681 (diff)
Merge branch 'WebApi' of https://github.com/TrueDoctor/DiscoBot into WebApi
Diffstat (limited to 'DSACore/Models/Database/Advantage.cs')
-rw-r--r--DSACore/Models/Database/Advantage.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/DSACore/Models/Database/Advantage.cs b/DSACore/Models/Database/Advantage.cs
new file mode 100644
index 0000000..67965fc
--- /dev/null
+++ b/DSACore/Models/Database/Advantage.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace DSACore.Models.Database
+{
+ public class Advantage
+ {
+ public Advantage(string name, string value = "")
+ {
+ Name = name ?? throw new ArgumentNullException(nameof(name));
+ Value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ public string Name { get; set; }
+ public string Value { get; set; }
+ }
+}