using System;

namespace Dfs.WayneChina.PosModelMini
{
    public class Changeset
    {
        public Guid Id { get; set; }

        /// <summary>
        /// explain what is this version created for, the purpose, the targets and etc, for human better understanding.
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// snap shot type will lead different lookup algorithm.
        /// if it's a partial, the lookup will include the parent hirachy.
        /// </summary>
        public ChangesetType Type { get; set; }

        /// <summary>
        /// Gets or sets the datetime when this Changeset created and saved into database.
        /// normally this time should be automatically set at the saving time (to db).
        /// </summary>
        public DateTime CreatedDateTime { get; set; }
    }
}