Skip to content

Commit

Permalink
Fix namespace syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmania committed Nov 2, 2021
1 parent b15f86c commit ab06d21
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/Umbraco.Core/Models/ContentEditing/HistoryCleanup.cs
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; }
}
}

0 comments on commit ab06d21

Please sign in to comment.