Removed IHasEntityVersion from Dtos for cmskit

pull/15169/head
malik masis 3 years ago
parent 5428f23a3a
commit 0adab5f795

@ -7,7 +7,7 @@ using Volo.CmsKit.Blogs;
namespace Volo.CmsKit.Admin.Blogs; namespace Volo.CmsKit.Admin.Blogs;
[Serializable] [Serializable]
public class BlogPostDto : EntityDto<Guid>, IHasCreationTime, IHasModificationTime, IHasConcurrencyStamp, IHasEntityVersion public class BlogPostDto : EntityDto<Guid>, IHasCreationTime, IHasModificationTime, IHasConcurrencyStamp
{ {
public Guid BlogId { get; set; } public Guid BlogId { get; set; }
@ -28,6 +28,4 @@ public class BlogPostDto : EntityDto<Guid>, IHasCreationTime, IHasModificationTi
public string ConcurrencyStamp { get; set; } public string ConcurrencyStamp { get; set; }
public BlogPostStatus Status { get; set; } public BlogPostStatus Status { get; set; }
public int EntityVersion { get; set; }
} }

@ -1,12 +1,11 @@
using System; using System;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities; using Volo.Abp.Domain.Entities;
namespace Volo.CmsKit.Admin.Pages; namespace Volo.CmsKit.Admin.Pages;
[Serializable] [Serializable]
public class PageDto : AuditedEntityDto<Guid>, IHasConcurrencyStamp, IHasEntityVersion public class PageDto : AuditedEntityDto<Guid>, IHasConcurrencyStamp
{ {
public string Title { get; set; } public string Title { get; set; }
@ -21,6 +20,4 @@ public class PageDto : AuditedEntityDto<Guid>, IHasConcurrencyStamp, IHasEntityV
public bool IsHomePage { get; set; } public bool IsHomePage { get; set; }
public string ConcurrencyStamp { get; set; } public string ConcurrencyStamp { get; set; }
public int EntityVersion { get; set; }
} }

@ -1,7 +1,9 @@
using System.Collections.Generic; using System;
using System.Collections.Generic;
namespace Volo.CmsKit.Contents; namespace Volo.CmsKit.Contents;
[Serializable]
public class DefaultContentDto : IContent public class DefaultContentDto : IContent
{ {
public List<ContentFragment> ContentFragments { get; set; } public List<ContentFragment> ContentFragments { get; set; }

@ -1,11 +1,9 @@
using System; using System;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
using Volo.Abp.Auditing;
namespace Volo.CmsKit.Contents; namespace Volo.CmsKit.Contents;
[Serializable] public class PageDto : EntityDto<Guid>
public class PageDto : EntityDto<Guid>, IHasEntityVersion
{ {
public string Title { get; set; } public string Title { get; set; }
@ -16,6 +14,4 @@ public class PageDto : EntityDto<Guid>, IHasEntityVersion
public string Script { get; set; } public string Script { get; set; }
public string Style { get; set; } public string Style { get; set; }
public int EntityVersion { get; set; }
} }
Loading…
Cancel
Save