Skip to content

Instantly share code, notes, and snippets.

@liptga
Created June 14, 2018 22:46
Show Gist options
  • Save liptga/7b9a4c2a062754f5b51ac608cd43a5d6 to your computer and use it in GitHub Desktop.
Save liptga/7b9a4c2a062754f5b51ac608cd43a5d6 to your computer and use it in GitHub Desktop.
package at.liptakg.lombokdemo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper=true, exclude="name")
@AllArgsConstructor
public class WrongEntityExample extends POJO{
private String foo;
private int bar;
private String name;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment