using System.Runtime.Serialization;

namespace Umbraco.Cms.Core.Models.ContentEditing
{
    [DataContract(Name = "historyCleanup", Namespace = "")]
    public class HistoryCleanupViewModel : HistoryCleanup
    {

        [DataMember(Name = "globalEnableCleanup")]
        public bool GlobalEnableCleanup { get; set; }

        [DataMember(Name = "globalKeepAllVersionsNewerThanDays")]
        public int? GlobalKeepAllVersionsNewerThanDays { get; set; }

        [DataMember(Name = "globalKeepLatestVersionPerDayForDays")]
        public int? GlobalKeepLatestVersionPerDayForDays { get; set; }
    }
}
