package com.gxwebsoft.shop.param;

import java.math.BigDecimal;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 评论表查询参数
 *
 * @author 科技小王子
 * @since 2025-01-11 10:45:12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ShopGoodsCommentParam对象", description = "评论表查询参数")
public class ShopGoodsCommentParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "评论ID")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @Schema(description = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer uid;

    @Schema(description = "订单ID")
    @QueryField(type = QueryType.EQ)
    private Integer oid;

    @Schema(description = "商品唯一id")
    private String unique;

    @Schema(description = "商品id")
    @QueryField(type = QueryType.EQ)
    private Integer goodsId;

    @Schema(description = "某种商品类型(普通商品、秒杀商品）")
    private String replyType;

    @Schema(description = "商品分数")
    @QueryField(type = QueryType.EQ)
    private Boolean goodsScore;

    @Schema(description = "服务分数")
    @QueryField(type = QueryType.EQ)
    private Boolean serviceScore;

    @Schema(description = "评论内容")
    private String comment;

    @Schema(description = "评论图片")
    private String pics;

    @Schema(description = "管理员回复内容")
    private String merchantReplyContent;

    @Schema(description = "管理员回复时间")
    @QueryField(type = QueryType.EQ)
    private Integer merchantReplyTime;

    @Schema(description = "0未删除1已删除")
    @QueryField(type = QueryType.EQ)
    private Boolean isDel;

    @Schema(description = "0未回复1已回复")
    @QueryField(type = QueryType.EQ)
    private Boolean isReply;

    @Schema(description = "用户名称")
    private String nickname;

    @Schema(description = "用户头像")
    private String avatar;

    @Schema(description = "商品规格属性值,多个,号隔开")
    private String sku;

    @Schema(description = "状态, 0正常, 1冻结")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @Schema(description = "是否删除, 0否, 1是")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

    @Schema(description = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

}
