Browse Source

Improve `GetBasketItemListDto` to set the BasketName as "Default"

pull/190/head
gdlcf88 4 years ago
parent
commit
e986808269
  1. 4
      plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.Application.Contracts/EasyAbp/EShop/Plugins/Baskets/BasketItems/Dtos/GetBasketItemListDto.cs

4
plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.Application.Contracts/EasyAbp/EShop/Plugins/Baskets/BasketItems/Dtos/GetBasketItemListDto.cs

@ -1,13 +1,11 @@
using System; using System;
using System.ComponentModel.DataAnnotations;
namespace EasyAbp.EShop.Plugins.Baskets.BasketItems.Dtos namespace EasyAbp.EShop.Plugins.Baskets.BasketItems.Dtos
{ {
[Serializable] [Serializable]
public class GetBasketItemListDto public class GetBasketItemListDto
{ {
[Required] public string BasketName { get; set; } = BasketsConsts.DefaultBasketName;
public string BasketName { get; set; }
/// <summary> /// <summary>
/// Specify the basket item owner user ID. Use current user ID if this property is null. /// Specify the basket item owner user ID. Use current user ID if this property is null.

Loading…
Cancel
Save