summaryrefslogtreecommitdiff
path: root/dsa/DSALib/Models/Database/Dsa/CharSpell.cs
diff options
context:
space:
mode:
Diffstat (limited to 'dsa/DSALib/Models/Database/Dsa/CharSpell.cs')
-rw-r--r--dsa/DSALib/Models/Database/Dsa/CharSpell.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/dsa/DSALib/Models/Database/Dsa/CharSpell.cs b/dsa/DSALib/Models/Database/Dsa/CharSpell.cs
new file mode 100644
index 0000000..d08bc74
--- /dev/null
+++ b/dsa/DSALib/Models/Database/Dsa/CharSpell.cs
@@ -0,0 +1,16 @@
+using System;
+
+namespace DSALib.Models.Database.Dsa
+{
+ public class CharSpell
+ {
+ public CharSpell(string representation, int value)
+ {
+ this.representation = representation ?? throw new ArgumentNullException(nameof(representation));
+ this.value = value;
+ }
+
+ public string representation { get; set; }
+ public int value { get; set; }
+ }
+} \ No newline at end of file