// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Collections.Generic;

namespace AntDesign
{
    public record struct TransferItem
    {
        public string Key { get; set; } = "";

        public string Title { get; set; } = "";

        public string Description { get; set; } = "";

        public bool Disabled { get; set; } = false;

        private readonly IDictionary<string, object> _properties = new Dictionary<string, object>();

        public TransferItem()
        {
        }

        public object this[string index]
        {
            get
            {
                return _properties[index];
            }
            set
            {
                _properties[index] = value;
            }
        }
    }
}
