using System;
using System.Collections.Generic;
using System.Text;

namespace InABox.Core
{
    /// <summary>
    /// Intended to be a class that is part of a post of a different <see cref="IPostable"/>, but is not <see cref="IPostable"/> itself.
    /// We may need to track references for each item, and so the fragment allows that.
    /// </summary>
    public interface IPostableFragment
    {
        /// <summary>
        /// Reference details like IDs or numbers so that we can match transactions.
        /// </summary>
        string PostedReference { get; set; }
    }

    public interface IPostableFragment<TPostable> : IPostableFragment
        where TPostable : IPostable
    {
    }
}
