Browse Source

StoreDto use right extensible base class, revert unwanted changes

pull/81/head
RayMMond 6 years ago
parent
commit
80493f496f
  1. 2
      modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Application.Contracts/EasyAbp/EShop/Stores/Stores/Dtos/StoreDto.cs
  2. 3
      modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Web/Pages/EShop/Stores/Stores/Store/CreateModal.cshtml.cs

2
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<Guid>
public class StoreDto : ExtensibleFullAuditedEntityDto<Guid>
{
[Required]
public string Name { get; set; }

3
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;

Loading…
Cancel
Save