39 lines
896 B
C#
39 lines
896 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using ARW.Model.Models.Business.GoodsManager.GoodsComments;
|
|
|
|
namespace ARW.Model.Dto.Api.GoodsManager.GoodsComments
|
|
{
|
|
|
|
/// <summary>
|
|
/// 商品评价查询对象Api
|
|
///
|
|
/// @author admin
|
|
/// @date 2023-07-17
|
|
/// </summary>
|
|
public class GoodsCommentQueryDtoApi : PagerInfo
|
|
{
|
|
public long? ShopGuid { get; set; }
|
|
|
|
[Required(ErrorMessage = "商品Id不能为空")]
|
|
public long SpuId { get; set; }
|
|
|
|
public int? GoodsCommentRatingType { get; set; }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 商品详情页评价输入对象Api
|
|
///
|
|
/// @author admin
|
|
/// @date 2023-07-17
|
|
/// </summary>
|
|
public class GoodsCommentDtoApi
|
|
{
|
|
[Required(ErrorMessage = "商品Id不能为空")]
|
|
public long SpuId { get; set; }
|
|
}
|
|
|
|
}
|