﻿namespace Oni.Metadata
{
    internal class Field
    {
        private readonly string name;
        private readonly MetaType type;

        public Field(MetaType type, string name = null)
        {
            this.type = type;
            this.name = name;
        }

        public MetaType Type => type;
        public string Name => name;
    }
}
