Skip to content

Instantly share code, notes, and snippets.

@liptga
Created June 14, 2018 22:57
Show Gist options
  • Save liptga/79397825e54131a62ccb23f68eee389e to your computer and use it in GitHub Desktop.
Save liptga/79397825e54131a62ccb23f68eee389e 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=false, exclude="name")
@AllArgsConstructor
public class GoodEntityExample 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