From 80493f496f7ddb975d377fb225060744099bdb80 Mon Sep 17 00:00:00 2001 From: RayMMond Date: Sat, 15 Aug 2020 17:49:56 +0800 Subject: [PATCH] StoreDto use right extensible base class, revert unwanted changes --- .../EasyAbp/EShop/Stores/Stores/Dtos/StoreDto.cs | 2 +- .../Pages/EShop/Stores/Stores/Store/CreateModal.cshtml.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Application.Contracts/EasyAbp/EShop/Stores/Stores/Dtos/StoreDto.cs b/modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Application.Contracts/EasyAbp/EShop/Stores/Stores/Dtos/StoreDto.cs index 24d11fd8..763cf110 100644 --- a/modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Application.Contracts/EasyAbp/EShop/Stores/Stores/Dtos/StoreDto.cs +++ b/modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Application.Contracts/EasyAbp/EShop/Stores/Stores/Dtos/StoreDto.cs @@ -4,7 +4,7 @@ using Volo.Abp.Application.Dtos; namespace EasyAbp.EShop.Stores.Stores.Dtos { - public class StoreDto : ExtensibleAuditedEntityDto + public class StoreDto : ExtensibleFullAuditedEntityDto { [Required] public string Name { get; set; } diff --git a/modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Web/Pages/EShop/Stores/Stores/Store/CreateModal.cshtml.cs b/modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Web/Pages/EShop/Stores/Stores/Store/CreateModal.cshtml.cs index a3cb3e92..83ea0ba6 100644 --- a/modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Web/Pages/EShop/Stores/Stores/Store/CreateModal.cshtml.cs +++ b/modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Web/Pages/EShop/Stores/Stores/Store/CreateModal.cshtml.cs @@ -13,7 +13,8 @@ namespace EasyAbp.EShop.Stores.Web.Pages.EShop.Stores.Stores.Store { public class CreateModalModel : StoresPageModel { - [BindProperty] public CreateEditStoreViewModel Store { get; set; } + [BindProperty] + public CreateEditStoreViewModel Store { get; set; } private readonly IStoreAppService _service;