/** 商品评价 */
export interface ShopGoodsEvaluate {
  id: number
  orderId: number
  orderGoodsId: number
  goodsId: number
  goodsName?: string
  goodsImage?: string
  userId: number
  nickname: string
  avatar?: string
  rating: number
  content: string
  images?: string[]
  isAnonymous: boolean
  createTime: string
  /** 商家回复 */
  reply?: string
  replyTime?: string
}

/** 提交评价参数 */
export interface SubmitEvaluateParams {
  orderId: number
  orderGoodsId: number
  goodsId: number
  rating: number
  content: string
  images?: string[]
  isAnonymous?: boolean
}

/** 分页参数 */
export interface EvaluatePageParams {
  page?: number
  pageSize?: number
  goodsId?: number
  orderId?: number
}
