From 55b1024f4db126549b7f71e1bd6055783d73f4ef Mon Sep 17 00:00:00 2001 From: Kelvin Date: Mon, 6 Jan 2025 10:02:32 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5):?= =?UTF-8?q?=20=E8=AE=BE=E7=BD=AElombok?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ktg/system/domain/SysMessage.java | 176 +----------------- 1 file changed, 4 insertions(+), 172 deletions(-) diff --git a/ktg-system/src/main/java/com/ktg/system/domain/SysMessage.java b/ktg-system/src/main/java/com/ktg/system/domain/SysMessage.java index b6a639e..502947d 100644 --- a/ktg-system/src/main/java/com/ktg/system/domain/SysMessage.java +++ b/ktg-system/src/main/java/com/ktg/system/domain/SysMessage.java @@ -2,6 +2,8 @@ package com.ktg.system.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Getter; +import lombok.Setter; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ktg.common.annotation.Excel; @@ -13,6 +15,8 @@ import com.ktg.common.core.domain.BaseEntity; * @author yinjinlu * @date 2023-03-06 */ +@Setter +@Getter public class SysMessage extends BaseEntity { private static final long serialVersionUID = 1L; @@ -89,178 +93,6 @@ public class SysMessage extends BaseEntity /** 预留字段4 */ private Long attr4; - public void setMessageId(Long messageId) - { - this.messageId = messageId; - } - - public Long getMessageId() - { - return messageId; - } - public void setMessageType(String messageType) - { - this.messageType = messageType; - } - - public String getMessageType() - { - return messageType; - } - public void setMessageLevel(String messageLevel) - { - this.messageLevel = messageLevel; - } - - public String getMessageLevel() - { - return messageLevel; - } - public void setMessageTitle(String messageTitle) - { - this.messageTitle = messageTitle; - } - - public String getMessageTitle() - { - return messageTitle; - } - public void setMessageContent(String messageContent) - { - this.messageContent = messageContent; - } - - public String getMessageContent() - { - return messageContent; - } - public void setSenderId(Long senderId) - { - this.senderId = senderId; - } - - public Long getSenderId() - { - return senderId; - } - public void setSenderName(String senderName) - { - this.senderName = senderName; - } - - public String getSenderName() - { - return senderName; - } - public void setSenderNick(String senderNick) - { - this.senderNick = senderNick; - } - - public String getSenderNick() - { - return senderNick; - } - public void setRecipientId(Long recipientId) - { - this.recipientId = recipientId; - } - - public Long getRecipientId() - { - return recipientId; - } - public void setRecipientName(String recipientName) - { - this.recipientName = recipientName; - } - - public String getRecipientName() - { - return recipientName; - } - public void setRecipientNick(String recipientNick) - { - this.recipientNick = recipientNick; - } - - public String getRecipientNick() - { - return recipientNick; - } - public void setProcessTime(Date processTime) - { - this.processTime = processTime; - } - - public Date getProcessTime() - { - return processTime; - } - public void setCallBack(String callBack) - { - this.callBack = callBack; - } - - public String getCallBack() - { - return callBack; - } - public void setStatus(String status) - { - this.status = status; - } - - public String getStatus() - { - return status; - } - public void setDeletedFlag(String deletedFlag) - { - this.deletedFlag = deletedFlag; - } - - public String getDeletedFlag() - { - return deletedFlag; - } - public void setAttr1(String attr1) - { - this.attr1 = attr1; - } - - public String getAttr1() - { - return attr1; - } - public void setAttr2(String attr2) - { - this.attr2 = attr2; - } - - public String getAttr2() - { - return attr2; - } - public void setAttr3(Long attr3) - { - this.attr3 = attr3; - } - - public Long getAttr3() - { - return attr3; - } - public void setAttr4(Long attr4) - { - this.attr4 = attr4; - } - - public Long getAttr4() - { - return attr4; - } - @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)