From 16d10cef208de048f8b325facd143c54b7be9963 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 31 五月 2024 11:53:39 +0800 Subject: [PATCH] 重构:lombok、vo、mybatisplus、beanutils、包名 --- src/main/java/com/ycl/jxkg/domain/UserEventLog.java | 50 +++----------------------------------------------- 1 files changed, 3 insertions(+), 47 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/UserEventLog.java b/src/main/java/com/ycl/jxkg/domain/UserEventLog.java index eec180a..56f4818 100644 --- a/src/main/java/com/ycl/jxkg/domain/UserEventLog.java +++ b/src/main/java/com/ycl/jxkg/domain/UserEventLog.java @@ -1,8 +1,11 @@ package com.ycl.jxkg.domain; +import lombok.Data; + import java.io.Serializable; import java.util.Date; +@Data public class UserEventLog implements Serializable { private static final long serialVersionUID = -3951198127152024633L; @@ -46,51 +49,4 @@ */ private Date createTime; - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public Integer getUserId() { - return userId; - } - - public void setUserId(Integer userId) { - this.userId = userId; - } - - public String getUserName() { - return userName; - } - - public void setUserName(String userName) { - this.userName = userName == null ? null : userName.trim(); - } - - public String getRealName() { - return realName; - } - - public void setRealName(String realName) { - this.realName = realName == null ? null : realName.trim(); - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content == null ? null : content.trim(); - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } } -- Gitblit v1.8.0