From 6c2150a4cfa3af8768b76eefefb29f730dc5e5fa Mon Sep 17 00:00:00 2001 From: 13405411873 <1994398261@qq.com> Date: Sat, 29 Mar 2025 11:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E5=91=8A=E8=AF=A6=E6=83=85=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/busi/domain/BusiUserLove.java | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/busi/domain/BusiUserLove.java b/ruoyi-admin/src/main/java/com/ruoyi/busi/domain/BusiUserLove.java index 388832a..c01f640 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/busi/domain/BusiUserLove.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/busi/domain/BusiUserLove.java @@ -1,26 +1,27 @@ package com.ruoyi.busi.domain; +import com.baomidou.mybatisplus.annotation.*; +import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; import lombok.*; import com.ruoyi.common.core.domain.DlBaseEntity; +import org.apache.ibatis.type.JdbcType; + +import java.util.Date; /** * 用户关注对象 dl_busi_user_love - * + * * @author 朱春云 * @date 2025-03-29 */ @TableName("dl_busi_user_love") @Data -@EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) @Builder @NoArgsConstructor @AllArgsConstructor -public class BusiUserLove extends DlBaseEntity +public class BusiUserLove { private static final long serialVersionUID = 1L; @@ -35,5 +36,14 @@ public class BusiUserLove extends DlBaseEntity /** 被关注通告主用户id */ @Excel(name = "被关注通告主用户id") private Long loveUserId; + /** 创建者 */ + @TableField(fill = FieldFill.INSERT, jdbcType = JdbcType.VARCHAR) + private String creator; + + /** 创建时间 */ + @TableField(fill = FieldFill.INSERT) + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date createTime; + }