mirror of https://github.com/abpframework/abp.git
30 changed files with 114 additions and 31 deletions
@ -1,13 +1,15 @@ |
|||
using System; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.Domain.Entities; |
|||
|
|||
namespace Volo.CmsKit.Admin.Blogs |
|||
{ |
|||
[Serializable] |
|||
public class BlogDto : EntityDto<Guid> |
|||
public class BlogDto : EntityDto<Guid>, IHasConcurrencyStamp |
|||
{ |
|||
public string Name { get; set; } |
|||
|
|||
public string Slug { get; set; } |
|||
public string ConcurrencyStamp { get; set; } |
|||
} |
|||
} |
|||
|
|||
@ -1,15 +1,18 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities; |
|||
using Volo.Abp.Validation; |
|||
using Volo.CmsKit.Tags; |
|||
|
|||
namespace Volo.CmsKit.Admin.Tags |
|||
{ |
|||
[Serializable] |
|||
public class TagUpdateDto |
|||
public class TagUpdateDto : IHasConcurrencyStamp |
|||
{ |
|||
[Required] |
|||
[DynamicMaxLength(typeof(TagConsts), nameof(TagConsts.MaxNameLength))] |
|||
public string Name { get; set; } |
|||
|
|||
public string ConcurrencyStamp { get; set; } |
|||
} |
|||
} |
|||
|
|||
@ -1,21 +1,32 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.Domain.Entities; |
|||
|
|||
namespace Volo.CmsKit.Menus |
|||
{ |
|||
[Serializable] |
|||
public class MenuItemDto : AuditedEntityDto<Guid> |
|||
public class MenuItemDto : AuditedEntityDto<Guid>, IHasConcurrencyStamp |
|||
{ |
|||
public Guid? ParentId { get; set; } |
|||
|
|||
public string DisplayName { get; set; } |
|||
|
|||
public bool IsActive { get; set; } |
|||
|
|||
public string Url { get; set; } |
|||
|
|||
public string Icon { get; set; } |
|||
|
|||
public int Order { get; set; } |
|||
|
|||
public string Target { get; set; } |
|||
|
|||
public string ElementId { get; set; } |
|||
|
|||
public string CssClass { get; set; } |
|||
|
|||
public Guid? PageId { get; set; } |
|||
|
|||
public string ConcurrencyStamp { get; set; } |
|||
} |
|||
} |
|||
|
|||
@ -1,13 +1,16 @@ |
|||
using System; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.Domain.Entities; |
|||
|
|||
namespace Volo.CmsKit.Tags |
|||
{ |
|||
[Serializable] |
|||
public class TagDto : EntityDto<Guid> |
|||
public class TagDto : EntityDto<Guid>, IHasConcurrencyStamp |
|||
{ |
|||
public string EntityType { get; set; } |
|||
|
|||
public string Name { get; set; } |
|||
|
|||
public string ConcurrencyStamp { get; set; } |
|||
} |
|||
} |
|||
|
|||
@ -1,15 +1,18 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities; |
|||
using Volo.Abp.Validation; |
|||
using Volo.CmsKit.Comments; |
|||
|
|||
namespace Volo.CmsKit.Public.Comments |
|||
{ |
|||
[Serializable] |
|||
public class UpdateCommentInput |
|||
public class UpdateCommentInput : IHasConcurrencyStamp |
|||
{ |
|||
[Required] |
|||
[DynamicStringLength(typeof(CommentConsts), nameof(CommentConsts.MaxTextLength))] |
|||
public string Text { get; set; } |
|||
|
|||
public string ConcurrencyStamp { get; set; } |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue