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)