From 982313135d1c239fe3b20e4c5664781f92d40aca Mon Sep 17 00:00:00 2001 From: xin <1099200748@qq.com> Date: Thu, 31 Jul 2025 17:17:39 +0800 Subject: [PATCH] Merge branch 'master' into xin --- oying-system/src/main/java/com/oying/modules/message/domain/MesCustomerCommentMsg.java | 95 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 95 insertions(+), 0 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/message/domain/MesCustomerCommentMsg.java b/oying-system/src/main/java/com/oying/modules/message/domain/MesCustomerCommentMsg.java new file mode 100644 index 0000000..551f3c2 --- /dev/null +++ b/oying-system/src/main/java/com/oying/modules/message/domain/MesCustomerCommentMsg.java @@ -0,0 +1,95 @@ +package com.oying.modules.message.domain; + +import com.oying.base.BaseEntity; +import lombok.Data; +import cn.hutool.core.bean.BeanUtil; +import io.swagger.annotations.ApiModelProperty; +import cn.hutool.core.bean.copier.CopyOptions; +import java.sql.Timestamp; +import javax.validation.constraints.NotBlank; +import javax.validation.constraints.NotNull; +import java.io.Serializable; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +/** +* @description / +* @author 李萌 +* @date 2025-07-25 +**/ +@Data +@TableName("mes_customer_comment_msg") +public class MesCustomerCommentMsg extends BaseEntity implements Serializable { + + @TableId(value = "id", type = IdType.AUTO) + @ApiModelProperty(value = "主键") + private Long id; + + @NotNull + @ApiModelProperty(value = "对应 mes_msg_record.id") + private Long msgRecordId; + + @NotNull + @ApiModelProperty(value = "店铺ID") + private Long shopId; + + @NotNull + @ApiModelProperty(value = "订单ID") + private Long orderId; + + @NotBlank + @ApiModelProperty(value = "订单编号 冗余") + private String orderNo; + + @NotBlank + @ApiModelProperty(value = "买家用户ID") + private String buyerId; + + @ApiModelProperty(value = "买家昵称 冗余") + private String buyerName; + + @NotNull + @ApiModelProperty(value = "评价ID 冗余") + private Long evaluationId; + + @NotNull + @ApiModelProperty(value = "商户是否已回复 0=未回复 1=已回复") + private Integer replied; + + @NotBlank + @ApiModelProperty(value = "创建人") + private String createBy; + + @NotNull + @ApiModelProperty(value = "创建时间") + private Timestamp createTime; + + @NotBlank + @ApiModelProperty(value = "更新人") + private String updateBy; + + @NotNull + @ApiModelProperty(value = "更新时间") + private Timestamp updateTime; + + @NotNull + @ApiModelProperty(value = "顾客留言时间(即评价产生时间)") + private Timestamp commentTime; + + @ApiModelProperty(value = "顾客留言内容(评价原文)") + private String commentContent; + + @ApiModelProperty(value = "商家回复内容") + private String replyContent; + + @ApiModelProperty(value = "外部跳转链接(完整 http/https)") + private String extJumpUrl; + + @ApiModelProperty(value = "内部小程序/APP 路由路径") + private String intJumpPath; + + public void copy(MesCustomerCommentMsg source){ + BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); + } +} -- Gitblit v1.9.3