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