summaryrefslogtreecommitdiff
path: root/dsa/DSALib/Models/Database/Dsa/Field.cs
blob: 6d1b82e7c96b114d9ff69a27997e3a3979456ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;

namespace DSALib.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; }
    }
}