summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database/DSA/Field.cs
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-05-17 21:02:08 +0200
committernatrixaeria <janng@gmx.de>2019-05-17 21:02:08 +0200
commitbc74dde4dd7cf40216de4f0aae9a1b9ddf5e044b (patch)
treec1c7f759645417989f15f9716efbf68a8f1d3a6d /DSACore/Models/Database/DSA/Field.cs
parent921d023a7652be5b1232ac41aeb2646b5f83ceb5 (diff)
parentaad1d69b5e2bb0c82f657f7693462fd95a91fb9f (diff)
Merge branch 'scribble' of https://github.com/TrueDoctor/DiscoBot into scribble
Diffstat (limited to 'DSACore/Models/Database/DSA/Field.cs')
-rw-r--r--DSACore/Models/Database/DSA/Field.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/DSACore/Models/Database/DSA/Field.cs b/DSACore/Models/Database/DSA/Field.cs
new file mode 100644
index 0000000..5022768
--- /dev/null
+++ b/DSACore/Models/Database/DSA/Field.cs
@@ -0,0 +1,16 @@
+using System;
+
+namespace DSACore.Models.Database.DSA
+{
+ public class Field
+ {
+ public Field(string name, int value = 0)
+ {
+ Name = name ?? throw new ArgumentNullException(nameof(name));
+ this.Value = value;
+ }
+
+ public string Name { get; set; }
+ public int Value { get; set; }
+ }
+}