package com.fs.his.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fs.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fs.common.core.domain.BaseEntity;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 订单评价对象 fs_store_order_scrm_comment
 *
 * @author fs
 * @date 2025-10-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class FsStoreOrderScrmComment extends BaseEntity{

    /** 评论id */
    private Long commentId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String content;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 是否匿名 */
    @Excel(name = "是否匿名")
    private Long isAnonymous;

    /** 是否所有人可见 */
    @Excel(name = "是否所有人可见")
    private Long isShow;

    /** 评分 */
    @Excel(name = "评分")
    private BigDecimal rating;

    /** 商家回复 */
    @Excel(name = "商家回复")
    private String merchantReply;

    /** 上传图片 */
    @Excel(name = "上传图片")
    private String imageUrl;

    /** 上传视频 */
    @Excel(name = "上传视频")
    private String videoUrl;

    /** 评价包含商品ids（使用逗号分隔存储） */
    @Excel(name = "评价包含商品ids", readConverterExp = "使=用逗号分隔存储")
    private String productIds;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDel;

    /** 评价订单店铺id */
    @Excel(name = "评价订单店铺id")
    private Long storeId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /**
     * 查看自己的评价
     */
    private Integer showSelf;

    private String userAvatar;

    @ApiModelProperty(value = "页码,默认为1")
    private Integer pageNum =1;
    @ApiModelProperty(value = "页码,默认为1")
    private Integer page =1;
    @ApiModelProperty(value = "页大小,默认为10")
    private Integer pageSize = 10;
    @ApiModelProperty(value = "限制数量")
    private Integer limit;
    @ApiModelProperty(value = "搜索字符串")
    private String keyword;
}
