namespace FoodsharingSiegen.Contracts.Model
{
    /// <summary>
    ///     The custom value attribute class (a. beging, 31.05.2022)
    /// </summary>
    /// <seealso cref="Attribute" />
    public sealed class CustomValueAttribute : Attribute
    {
        #region Public Properties

        /// <summary>
        ///     Gets the value of the value (ab)
        /// </summary>
        public string Value { get; }

        #endregion

        #region Setup/Teardown

        /// <summary>
        ///     Initializes a new instance of the <see cref="CustomValueAttribute" /> class
        /// </summary>
        /// <param name="value">The value (ab)</param>
        public CustomValueAttribute(string value) => Value = value;

        #endregion
    }
}