From 9d901b4215323c97a00a068cd962f5c9c04dadfa Mon Sep 17 00:00:00 2001 From: doum <doum> Date: 星期四, 04 九月 2025 10:15:09 +0800 Subject: [PATCH] 前端 --- server/services/src/main/java/com/doumee/dao/business/model/Category.java | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/server/services/src/main/java/com/doumee/dao/business/model/Category.java b/server/services/src/main/java/com/doumee/dao/business/model/Category.java index 0665ae1..06048b0 100644 --- a/server/services/src/main/java/com/doumee/dao/business/model/Category.java +++ b/server/services/src/main/java/com/doumee/dao/business/model/Category.java @@ -1,7 +1,9 @@ package com.doumee.dao.business.model; +import com.alibaba.fastjson.JSONArray; import com.baomidou.mybatisplus.annotation.TableField; import com.doumee.core.annotation.excel.ExcelColumn; +import com.doumee.core.model.LoginUserInfo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotation.IdType; @@ -22,6 +24,7 @@ @TableName("`category`") public class Category { + @TableId(type = IdType.AUTO) @ApiModelProperty(value = "涓婚敭", example = "1") @ExcelColumn(name="涓婚敭") private Integer id; @@ -62,7 +65,7 @@ @ApiModelProperty(value = "绫诲瀷:0=鍝佺閰嶇疆锛�1=杞﹁締绫诲瀷閰嶇疆锛�2=椁愭爣閰嶇疆锛�3=鎵嬬画璐归厤缃紱", example = "1") @ExcelColumn(name="绫诲瀷:0=鍝佺閰嶇疆锛�1=杞﹁締绫诲瀷閰嶇疆锛�2=椁愭爣閰嶇疆锛�3=鎵嬬画璐归厤缃紱") - private Byte type; + private Integer type; @ApiModelProperty(value = "鍐呭锛堣溅杈嗚鏍笺�侀鏍囥�佹墜缁垂姣斾緥锛�") @ExcelColumn(name="鍐呭锛堣溅杈嗚鏍笺�侀鏍囥�佹墜缁垂姣斾緥锛�") @@ -83,6 +86,8 @@ private String updateUserName; @ApiModelProperty(value = "椁愭爣绛夐厤缃」闆嗗悎", example = "1") @TableField(exist = false) - private List<String> detailList; - + private JSONArray detailList; + @ApiModelProperty(value = "鍥炬爣鍏ㄨ矾寰�") + @TableField(exist = false) + private String iconFull; } -- Gitblit v1.9.3