From f66e6c82fa9de8a86e6fdfb27ddc9730d156cd7f Mon Sep 17 00:00:00 2001 From: wangtongzhou Date: Tue, 14 May 2019 22:00:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AE=A2=E5=8D=95=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E7=9A=84=E6=95=B0=E6=8D=AE=E5=BA=93=E5=AE=9E=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order/biz/dataobject/OrderCommentDO.java | 100 ++++++++++++++++++ .../biz/dataobject/OrderCommentReplayDO.java | 85 +++++++++++++++ 2 files changed, 185 insertions(+) create mode 100644 order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/dataobject/OrderCommentDO.java create mode 100644 order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/dataobject/OrderCommentReplayDO.java diff --git a/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/dataobject/OrderCommentDO.java b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/dataobject/OrderCommentDO.java new file mode 100644 index 000000000..20e4bb982 --- /dev/null +++ b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/dataobject/OrderCommentDO.java @@ -0,0 +1,100 @@ +package cn.iocoder.mall.order.biz.dataobject; + +import cn.iocoder.common.framework.dataobject.BaseDO; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * 订单评论表 + * + * @author wtz + * @time 2019-05-14 20:48 + * + */ +@Data +@Accessors(chain = true) +@TableName(value = "order_comment") +public class OrderCommentDO extends BaseDO { + + /** + * 评论id + */ + private Integer id; + + /** + * 订单id + */ + private Integer orderId; + + /** + * 订单编号 + */ + private String orderNo; + + /** + * 商品SKUid + */ + private Integer productSkuId; + + /** + * 商品SKU属性 + */ + private String productSkuAttrs; + + /** + * 用户id + */ + private Integer userId; + + /** + * 用户头像 + */ + private String userAvatar; + + /** + * 用户的真实姓名 + */ + private String userNickName; + + /** + * 评价星 + */ + private Integer star; + + /** + * 商品描述 + */ + private Integer productDescriptionStar; + + /** + * 物流评价 + */ + private Integer logisticsStar; + + /** + * 商家评价 + */ + private Integer merchantStar; + + /** + * 回复条数 + */ + private Integer replayCount; + + /** + * 点赞数 + */ + private Integer collectCount; + + /** + * 评论的内容 + */ + private String commentContent; + + /** + * 评论的图片地址 + */ + private String commentPics; + +} diff --git a/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/dataobject/OrderCommentReplayDO.java b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/dataobject/OrderCommentReplayDO.java new file mode 100644 index 000000000..45dc4346c --- /dev/null +++ b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/dataobject/OrderCommentReplayDO.java @@ -0,0 +1,85 @@ +package cn.iocoder.mall.order.biz.dataobject; + +import cn.iocoder.common.framework.dataobject.BaseDO; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * 商品评价回复表 + * + * @author wtz + * @time 2019-05-14 21:00 + * + */ +@Data +@Accessors(chain = true) +@TableName(value = "order_comment_replay") +public class OrderCommentReplayDO extends BaseDO { + + /** + * 回复id + */ + private Integer id; + + /** + * 评论id + */ + private Integer commentId; + + /** + * 回复的类型 + */ + private Integer replyType; + + /** + * 父id + */ + private Integer parentId; + + /** + * 回复目标用户id + */ + private Integer parentUserId; + + /** + * 回复目标用户昵称 + */ + private String parentUserNickName; + + /** + * 回复目标用户头像 + */ + private String parentUserAvatar; + + /** + * 回复的数量 + */ + private String replyContent; + + /** + * 回复用户id + */ + private Integer replyUserId; + + /** + * 回复用户昵称 + */ + private String replyUserNickName; + + /** + * 回复用户头像 + */ + private String replyUserAvatar; + + /** + * 回复用户身份 + */ + private Integer replyUserType; + + /** + * 回复点赞数 + */ + private Integer replyCollectCount; + +}