From b394df082b875856884d6d02cce2a43c49ad6704 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Fri, 30 May 2025 16:44:46 +0800
Subject: [PATCH] Merge branch 'feature/pc-base' into xin

---
 oying-system/src/main/java/com/oying/modules/pc/product/domain/ProductCategory.java |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/pc/product/domain/ProductCategory.java b/oying-system/src/main/java/com/oying/modules/pc/product/domain/ProductCategory.java
new file mode 100644
index 0000000..b677fdc
--- /dev/null
+++ b/oying-system/src/main/java/com/oying/modules/pc/product/domain/ProductCategory.java
@@ -0,0 +1,52 @@
+package com.oying.modules.pc.product.domain;
+
+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.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 lzp
+* @date 2025-05-13
+**/
+@Data
+@TableName("pc_product_category")
+public class ProductCategory implements Serializable {
+
+    @TableId(value = "id", type = IdType.AUTO)
+    @ApiModelProperty(value = "商品类目唯一标识")
+    private Long id;
+
+    @NotNull
+    @ApiModelProperty(value = "商品ID")
+    private Long productId;
+
+    @ApiModelProperty(value = "所属一级店铺类目ID")
+    private Long storeCategoryId;
+
+    @ApiModelProperty(value = "所属二级店铺类目ID")
+    private Long storeCategorySecondId;
+
+    @ApiModelProperty(value = "创建者")
+    private Long createBy;
+
+    @ApiModelProperty(value = "创建时间")
+    private Timestamp createTime;
+
+    @ApiModelProperty(value = "修改者")
+    private Long updateBy;
+
+    @ApiModelProperty(value = "修改时间")
+    private Timestamp updateTime;
+
+    public void copy(ProductCategory source){
+        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
+    }
+}

--
Gitblit v1.9.3