refactor(消息通知): 设置lombok

This commit is contained in:
Kelvin 2025-01-06 10:02:32 +08:00
parent c10fd69aa3
commit 55b1024f4d

View File

@ -2,6 +2,8 @@ package com.ktg.system.domain;
import java.util.Date; import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat; 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.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel; import com.ktg.common.annotation.Excel;
@ -13,6 +15,8 @@ import com.ktg.common.core.domain.BaseEntity;
* @author yinjinlu * @author yinjinlu
* @date 2023-03-06 * @date 2023-03-06
*/ */
@Setter
@Getter
public class SysMessage extends BaseEntity public class SysMessage extends BaseEntity
{ {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -89,178 +93,6 @@ public class SysMessage extends BaseEntity
/** 预留字段4 */ /** 预留字段4 */
private Long attr4; 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 @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)