summaryrefslogtreecommitdiff
path: root/dsa/DSALib/Models/Database/Dsa/Field.cs
blob: f7203189d7edf43a8be1c3afe4a3f2d5bbff1036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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; }
    }
}