xcx_temp_api/ARW.Model/Dto/Api/GoodsManager/Goodss/GoodsApiDto.cs

50 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ARW.Model.Models.Business.GoodsManager.Goodss;
namespace ARW.Model.Dto.Api.GoodsManager.Goodss
{
/// <summary>
/// 商品查询对象Api
///
/// @author lwh
/// @date 2023-07-09
/// </summary>
public class GoodsQueryDtoApi : PagerInfo
{
public long? ShopGuid { get; set; }
/// <summary>
/// 店铺经营类目
/// </summary>
public long GoodsCategoryGuid { get; set; }
/// <summary>
/// 店铺商品类目
/// </summary>
public long ShopGoodsCategoryGuid { get; set; }
public string GoodsName { get; set; }
public string GoodsCoding { get; set; }
public int GoodsSort { get; set; }
public int GoodsSortType { get; set; }
public decimal MinPrice { get; set;}
public decimal MaxPrice { get; set;}
}
/// <summary>
/// 商品详情输入对象Api
///
/// @author lwh
/// @date 2023-07-09
/// </summary>
public class GoodsDtoApi
{
[Required(ErrorMessage = "商品Id不能为空")]
public long SpuId { get; set; }
}
}