From cedaeeed6d401aefebf93ea6ea21cc9e06d5f5db Mon Sep 17 00:00:00 2001
From: zqy <2522236926@qq.com>
Date: 星期二, 02 十二月 2025 10:36:48 +0800
Subject: [PATCH] 新增搜索 模块+同伴+时间
---
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java | 53 +++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 47 insertions(+), 6 deletions(-)
diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java
index 375730f..db6db7c 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java
@@ -3,6 +3,8 @@
import java.util.Date;
import java.util.List;
import javax.validation.constraints.*;
+
+import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
@@ -55,7 +57,7 @@
/** 瀵嗙爜 */
private String password;
- /** 甯愬彿鐘舵�侊紙0姝e父 1鍋滅敤锛� */
+ /** 甯愬彿鐘舵�侊紙0姝e父 1鍋滅敤 2鍒犻櫎 3寮傚父 4璇曠敤鏈熺粨鏉燂級 */
@Excel(name = "甯愬彿鐘舵��", readConverterExp = "0=姝e父,1=鍋滅敤")
private String status;
@@ -71,10 +73,10 @@
private Date loginDate;
/** 閮ㄩ棬瀵硅薄 */
- @Excels({
- @Excel(name = "閮ㄩ棬鍚嶇О", targetAttr = "deptName", type = Type.EXPORT),
- @Excel(name = "閮ㄩ棬璐熻矗浜�", targetAttr = "leader", type = Type.EXPORT)
- })
+// @Excels({
+// @Excel(name = "閮ㄩ棬鍚嶇О", targetAttr = "deptName", type = Type.EXPORT),
+// @Excel(name = "閮ㄩ棬璐熻矗浜�", targetAttr = "leader", type = Type.EXPORT)
+// })
private SysDept dept;
/** 瑙掕壊瀵硅薄 */
@@ -88,6 +90,40 @@
/** 瑙掕壊ID */
private Long roleId;
+
+ /**鏄惁浼氬憳 0鍚� 1鏄�*/
+ private Integer paid;
+
+ /**璇曠敤鏈熸椂闂� 榛樿7澶�**/
+ private Integer remainTime;
+
+ public Integer getRemainTime() {
+ return remainTime;
+ }
+
+ public void setRemainTime(Integer remainTime) {
+ this.remainTime = remainTime;
+ }
+
+ public Integer getPaid() {
+ return paid;
+ }
+
+ public void setPaid(Integer paid) {
+ this.paid = paid;
+ }
+
+
+
+ public Integer getClanId() {
+ return clanId;
+ }
+
+ private Integer clanId;
+
+ public void setClanId(Integer clanId) {
+ this.clanId = clanId;
+ }
public SysUser()
{
@@ -117,6 +153,7 @@
public static boolean isAdmin(Long userId)
{
//1鍙风敤鎴峰氨鏄鐞嗗憳
+ //杩欓噷闇�瑕佷慨鏀规垚绠$悊鍛橈紝鏌ヨ鏁版嵁搴�
return userId != null && 1L == userId;
}
@@ -302,7 +339,9 @@
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("userId", getUserId())
- .append("deptId", getDeptId())
+ .append("clanId", getClanId())
+
+ .append("deptId", getDeptId())
.append("userName", getUserName())
.append("nickName", getNickName())
.append("email", getEmail())
@@ -320,6 +359,8 @@
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("dept", getDept())
+ .append("paid",getPaid())
+ .append("remainTime",getRemainTime())
.toString();
}
}
--
Gitblit v1.9.1