From d93356927d8a0a5a91963c28d461d9107562d759 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Fri, 30 May 2025 17:38:26 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/xin'

---
 oying-system/src/main/java/com/oying/modules/pc/category/domain/PlatformCategory.java |   72 ++++++++++++++++++++++++++++++++++++
 1 files changed, 72 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/pc/category/domain/PlatformCategory.java b/oying-system/src/main/java/com/oying/modules/pc/category/domain/PlatformCategory.java
new file mode 100644
index 0000000..258cc2b
--- /dev/null
+++ b/oying-system/src/main/java/com/oying/modules/pc/category/domain/PlatformCategory.java
@@ -0,0 +1,72 @@
+package com.oying.modules.pc.category.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.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 lzp
+* @date 2025-04-28
+**/
+@Data
+@TableName("pc_platform_category")
+public class PlatformCategory implements Serializable {
+
+    @TableId(value = "category_id", type = IdType.AUTO)
+    @ApiModelProperty(value = "类目ID")
+    private Long categoryId;
+
+    @NotNull
+    @ApiModelProperty(value = "父类目ID")
+    private Long parentId;
+
+    @NotBlank
+    @ApiModelProperty(value = "类目名称")
+    private String name;
+
+    @NotNull
+    @ApiModelProperty(value = "类目层级:1-级类目 ")
+    private Integer level;
+
+    @NotNull
+    @ApiModelProperty(value = "排序权重")
+    private Integer sortWeight;
+
+    @ApiModelProperty(value = "类目图标ID")
+    private Long iconId;
+
+    @NotNull
+    @ApiModelProperty(value = "状态")
+    private Integer status;
+
+    @NotNull
+    @ApiModelProperty(value = "是否启用(0-否 1-是)")
+    private Integer active;
+
+    @ApiModelProperty(value = "创建人")
+    private Long createBy;
+
+    @NotNull
+    @ApiModelProperty(value = "创建时间")
+    private Timestamp createTime;
+
+    @ApiModelProperty(value = "修改人")
+    private Long updateBy;
+
+    @NotNull
+    @ApiModelProperty(value = "更新时间")
+    private Timestamp updateTime;
+
+    public void copy(PlatformCategory source){
+        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
+    }
+}

--
Gitblit v1.9.3