Browse Source
Merge pull request #15184 from abpframework/Cmskit-Missed-Serializable-Attribute
Added the missed serializable attribute for dtos
pull/15189/head
Engincan VESKE
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with
23 additions and
10 deletions
-
modules/cms-kit/src/Volo.CmsKit.Admin.Application.Contracts/Volo/CmsKit/Admin/Blogs/CreateBlogDto.cs
-
modules/cms-kit/src/Volo.CmsKit.Admin.Application.Contracts/Volo/CmsKit/Admin/Blogs/UpdateBlogDto.cs
-
modules/cms-kit/src/Volo.CmsKit.Admin.Application.Contracts/Volo/CmsKit/Admin/GlobalResources/GlobalResourcesDto.cs
-
modules/cms-kit/src/Volo.CmsKit.Admin.Application.Contracts/Volo/CmsKit/Admin/GlobalResources/GlobalResourcesUpdateDto.cs
-
modules/cms-kit/src/Volo.CmsKit.Admin.Application.Contracts/Volo/CmsKit/Admin/Menus/PageLookupDto.cs
-
modules/cms-kit/src/Volo.CmsKit.Common.Application.Contracts/Volo/CmsKit/Contents/IContent.cs
-
modules/cms-kit/src/Volo.CmsKit.Common.Application.Contracts/Volo/CmsKit/Users/CmsUserDto.cs
-
modules/cms-kit/src/Volo.CmsKit.Public.Application.Contracts/Volo/CmsKit/Public/Blogs/BlogPostFilteredPagedAndSortedResultRequestDto.cs
-
modules/cms-kit/src/Volo.CmsKit.Public.Application.Contracts/Volo/CmsKit/Public/Reactions/ReactionWithSelectionDto.cs
|
|
|
@ -1,9 +1,11 @@ |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using System; |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using Volo.Abp.Validation; |
|
|
|
using Volo.CmsKit.Blogs; |
|
|
|
|
|
|
|
namespace Volo.CmsKit.Admin.Blogs; |
|
|
|
|
|
|
|
[Serializable] |
|
|
|
public class CreateBlogDto |
|
|
|
{ |
|
|
|
[Required] |
|
|
|
|
|
|
|
@ -1,10 +1,12 @@ |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using System; |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using Volo.Abp.Domain.Entities; |
|
|
|
using Volo.Abp.Validation; |
|
|
|
using Volo.CmsKit.Blogs; |
|
|
|
|
|
|
|
namespace Volo.CmsKit.Admin.Blogs; |
|
|
|
|
|
|
|
[Serializable] |
|
|
|
public class UpdateBlogDto : IHasConcurrencyStamp |
|
|
|
{ |
|
|
|
[Required] |
|
|
|
|
|
|
|
@ -1,5 +1,8 @@ |
|
|
|
namespace Volo.CmsKit.Admin.GlobalResources; |
|
|
|
using System; |
|
|
|
|
|
|
|
namespace Volo.CmsKit.Admin.GlobalResources; |
|
|
|
|
|
|
|
[Serializable] |
|
|
|
public class GlobalResourcesDto |
|
|
|
{ |
|
|
|
public string StyleContent { get; set; } |
|
|
|
|
|
|
|
@ -1,5 +1,8 @@ |
|
|
|
namespace Volo.CmsKit.Admin.GlobalResources; |
|
|
|
using System; |
|
|
|
|
|
|
|
namespace Volo.CmsKit.Admin.GlobalResources; |
|
|
|
|
|
|
|
[Serializable] |
|
|
|
public class GlobalResourcesUpdateDto |
|
|
|
{ |
|
|
|
public string Style { get; set; } |
|
|
|
|
|
|
|
@ -3,6 +3,7 @@ using Volo.Abp.Application.Dtos; |
|
|
|
|
|
|
|
namespace Volo.CmsKit.Admin.Menus; |
|
|
|
|
|
|
|
[Serializable] |
|
|
|
public class PageLookupDto : EntityDto<Guid> |
|
|
|
{ |
|
|
|
public string Title { get; set; } |
|
|
|
|
|
|
|
@ -1,6 +1,7 @@ |
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
namespace Volo.CmsKit.Contents; |
|
|
|
|
|
|
|
public interface IContent |
|
|
|
{ |
|
|
|
public List<ContentFragment> ContentFragments { get; set; } |
|
|
|
|
|
|
|
@ -1,8 +1,4 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Linq; |
|
|
|
using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Volo.Abp.Application.Dtos; |
|
|
|
|
|
|
|
namespace Volo.CmsKit.Users; |
|
|
|
|
|
|
|
@ -1,7 +1,9 @@ |
|
|
|
using Volo.Abp.Application.Dtos; |
|
|
|
using System; |
|
|
|
using Volo.Abp.Application.Dtos; |
|
|
|
|
|
|
|
namespace Volo.CmsKit.Public.Blogs; |
|
|
|
|
|
|
|
[Serializable] |
|
|
|
public class BlogPostFilteredPagedAndSortedResultRequestDto : PagedAndSortedResultRequestDto |
|
|
|
{ |
|
|
|
public string Filter { get; set; } |
|
|
|
|
|
|
|
@ -1,5 +1,8 @@ |
|
|
|
namespace Volo.CmsKit.Public.Reactions; |
|
|
|
using System; |
|
|
|
|
|
|
|
namespace Volo.CmsKit.Public.Reactions; |
|
|
|
|
|
|
|
[Serializable] |
|
|
|
public class ReactionWithSelectionDto |
|
|
|
{ |
|
|
|
public ReactionDto Reaction { get; set; } |
|
|
|
|