summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database/DSA/Field.cs
blob: e63aeb43119f5b43fd1137d4e1843b0212f39bb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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));
            Value = value;
        }

        public string Name { get; set; }
        public int Value { get; set; }
    }
}