forked from umbraco/Umbraco-CMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace Umbraco.Core.Models.ContentEditing; | ||
|
||
[DataContract(Name = "historyCleanup", Namespace = "")] | ||
public class HistoryCleanup | ||
namespace Umbraco.Core.Models.ContentEditing | ||
{ | ||
[DataMember(Name = "preventCleanup")] | ||
public bool PreventCleanup { get; set; } | ||
[DataContract(Name = "historyCleanup", Namespace = "")] | ||
public class HistoryCleanup | ||
{ | ||
[DataMember(Name = "preventCleanup")] | ||
public bool PreventCleanup { get; set; } | ||
|
||
[DataMember(Name = "keepAllVersionsNewerThanDays")] | ||
public int? KeepAllVersionsNewerThanDays { get;set; } | ||
[DataMember(Name = "keepAllVersionsNewerThanDays")] | ||
public int? KeepAllVersionsNewerThanDays { get;set; } | ||
|
||
[DataMember(Name = "keepLatestVersionPerDayForDays")] | ||
public int? KeepLatestVersionPerDayForDays { get;set; } | ||
[DataMember(Name = "keepLatestVersionPerDayForDays")] | ||
public int? KeepLatestVersionPerDayForDays { get;set; } | ||
} | ||
} | ||
|