summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database/Field.cs
blob: b14d9da3c6f1f9618d0cbfb616274ef2efe1f59d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace DSACore.Models.Database
{
    public class Field
    {
        public Field(string name, int value = 0)
        {
            Name = name ?? throw new ArgumentNullException(nameof(name));
            this.Value = value;
        }

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