From 476e5b8dd263e7891ae6b435ad42923ca8fdb82e Mon Sep 17 00:00:00 2001 From: huangyw <1207046171@qq.com> Date: Tue, 6 Aug 2024 14:04:05 +0800 Subject: [PATCH] =?UTF-8?q?release:=20=E6=89=B9=E9=87=8F=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?serialVersionUID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luoo_user/src/main/java/com/luoo/user/pojo/LotteryUser.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/luoo_user/src/main/java/com/luoo/user/pojo/LotteryUser.java b/luoo_user/src/main/java/com/luoo/user/pojo/LotteryUser.java index ccb8868..8111931 100644 --- a/luoo_user/src/main/java/com/luoo/user/pojo/LotteryUser.java +++ b/luoo_user/src/main/java/com/luoo/user/pojo/LotteryUser.java @@ -2,6 +2,8 @@ package com.luoo.user.pojo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; + +import java.io.Serializable; import java.time.LocalDateTime; import javax.persistence.Column; import javax.persistence.Entity; @@ -32,8 +34,9 @@ import org.springframework.format.annotation.DateTimeFormat; @DynamicUpdate @Table(name = "tb_lottery_user") @EntityListeners(AuditingEntityListener.class) -public class LotteryUser { +public class LotteryUser implements Serializable { + private static final long serialVersionUID = 1940936291174863923L; @Id @Size(max = 20) @Column(name = "id", nullable = false, length = 20)