public void AddEnum <T>(string name, T defaultValue)
        {
            var p = new EnumPropertyModel()
            {
                Name = name, EnumType = typeof(T), DefaultValue = defaultValue
            };

            _model.Properties.Add(p);
        }
        public void AddEnum <T>(string name)
        {
            var p = new EnumPropertyModel()
            {
                Name = name, EnumType = typeof(T)
            };

            _model.Properties.Add(p);
        }