diff --git a/plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.Application.Contracts/EasyAbp/EShop/Plugins/Baskets/BasketItems/Dtos/GetBasketItemListDto.cs b/plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.Application.Contracts/EasyAbp/EShop/Plugins/Baskets/BasketItems/Dtos/GetBasketItemListDto.cs index a0610631..185fc31e 100644 --- a/plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.Application.Contracts/EasyAbp/EShop/Plugins/Baskets/BasketItems/Dtos/GetBasketItemListDto.cs +++ b/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.ComponentModel.DataAnnotations; namespace EasyAbp.EShop.Plugins.Baskets.BasketItems.Dtos { [Serializable] public class GetBasketItemListDto { - [Required] - public string BasketName { get; set; } + public string BasketName { get; set; } = BasketsConsts.DefaultBasketName; /// /// Specify the basket item owner user ID. Use current user ID if this property is null.