release: 批量添加serialVersionUID

release-2024-08-08
huangyw 4 months ago
parent 52798fedd1
commit 476e5b8dd2

@ -2,6 +2,8 @@ package com.luoo.user.pojo;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -32,8 +34,9 @@ import org.springframework.format.annotation.DateTimeFormat;
@DynamicUpdate @DynamicUpdate
@Table(name = "tb_lottery_user") @Table(name = "tb_lottery_user")
@EntityListeners(AuditingEntityListener.class) @EntityListeners(AuditingEntityListener.class)
public class LotteryUser { public class LotteryUser implements Serializable {
private static final long serialVersionUID = 1940936291174863923L;
@Id @Id
@Size(max = 20) @Size(max = 20)
@Column(name = "id", nullable = false, length = 20) @Column(name = "id", nullable = false, length = 20)

Loading…
Cancel
Save