From 5f28aa4f1e894f30b200954c68b402a2ec7cb69d Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Thu, 9 Mar 2023 23:56:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=83=A8=E9=97=A8=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E7=B1=BB=E5=9E=8B=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/youlai/system/pojo/form/DeptForm.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/youlai/system/pojo/form/DeptForm.java b/src/main/java/com/youlai/system/pojo/form/DeptForm.java index 41dd6abe..664fec9e 100644 --- a/src/main/java/com/youlai/system/pojo/form/DeptForm.java +++ b/src/main/java/com/youlai/system/pojo/form/DeptForm.java @@ -1,16 +1,14 @@ package com.youlai.system.pojo.form; -import com.youlai.system.common.base.BaseEntity; import io.swagger.v3.oas.annotations.media.Schema; -import lombok.Data; - import jakarta.validation.constraints.NotNull; +import lombok.Data; @Schema(description = "部门表单对象") @Data -public class DeptForm extends BaseEntity { +public class DeptForm { - @Schema(description="部门ID(新增不填)") + @Schema(description="部门ID") private Long id; @Schema(description="部门名称") @@ -20,10 +18,10 @@ public class DeptForm extends BaseEntity { @NotNull(message = "父部门ID不能为空") private Long parentId; - @Schema(description="状态") + @Schema(description="状态(1:启用;0:禁用)") private Integer status; - @Schema(description="排序") + @Schema(description="排序(数字越小排名越靠前)") private Integer sort; }