Unable to save email send to WebWolf #419
This commit is contained in:
@ -6,6 +6,8 @@ import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
@ -23,7 +25,8 @@ import java.time.format.DateTimeFormatter;
|
||||
public class Email implements Serializable {
|
||||
|
||||
@Id
|
||||
private String id;
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
private LocalDateTime time;
|
||||
private String contents;
|
||||
private String sender;
|
||||
|
Reference in New Issue
Block a user