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