mirror of https://github.com/EasyAbp/EShop.git
10 changed files with 96 additions and 43 deletions
@ -1,20 +0,0 @@ |
|||
using System; |
|||
using System.ComponentModel; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
namespace EasyAbp.EShop.Products.ProductCategories.Dtos |
|||
{ |
|||
public class CreateUpdateProductCategoryDto |
|||
{ |
|||
[Required] |
|||
[DisplayName("ProductCategoryCategoryId")] |
|||
public Guid CategoryId { get; set; } |
|||
|
|||
[Required] |
|||
[DisplayName("ProductCategoryProductId")] |
|||
public Guid ProductId { get; set; } |
|||
|
|||
[DisplayName("ProductCategoryDisplayOrder")] |
|||
public int DisplayOrder { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using Volo.Abp.Application.Dtos; |
|||
|
|||
namespace EasyAbp.EShop.Products.ProductCategories.Dtos |
|||
{ |
|||
public class GetProductCategoryListDto : PagedAndSortedResultRequestDto |
|||
{ |
|||
public Guid? CategoryId { get; set; } |
|||
|
|||
public Guid? ProductId { get; set; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue