From 91fc989eea5ee16c2f000064b5c040a6fe6f23b9 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Thu, 16 May 2019 01:10:10 +0200 Subject: Implement tokens --- DSACore/Models/Database/DSA/Advantage.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 DSACore/Models/Database/DSA/Advantage.cs (limited to 'DSACore/Models/Database/DSA/Advantage.cs') diff --git a/DSACore/Models/Database/DSA/Advantage.cs b/DSACore/Models/Database/DSA/Advantage.cs new file mode 100644 index 0000000..2f0b443 --- /dev/null +++ b/DSACore/Models/Database/DSA/Advantage.cs @@ -0,0 +1,16 @@ +using System; + +namespace DSACore.Models.Database.DSA +{ + 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; } + } +} -- cgit v1.2.3-54-g00ecf