We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think adding Lombok to this extension would make classes like the one below look much more smaller:
@Entity public class Item { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE) private long id; @Column private Instant timestamp1; @Column private LocalDateTime timestamp2; @Column(columnDefinition = "timestamp") private Instant timestamp3; @Column(columnDefinition = "TIMESTAMP WITH TIME ZONE") private LocalDateTime timestamp4; public long getId() { return id; } public void setId(long id) { this.id = id; } public Instant getTimestamp1() { return timestamp1; } public void setTimestamp1(Instant timestamp1) { this.timestamp1 = timestamp1; } public LocalDateTime getTimestamp2() { return timestamp2; } public void setTimestamp2(LocalDateTime timestamp2) { this.timestamp2 = timestamp2; } }
Resulting in something like:
@Entity public class Item { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE) @Getter @Setter private long id; @Column @Getter @Setter private Instant timestamp1; @Column @Getter @Setter private LocalDateTime timestamp2; ... }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I think adding Lombok to this extension would make classes like the one below look much more smaller:
Resulting in something like:
The text was updated successfully, but these errors were encountered: