Created
October 24, 2021 21:21
-
-
Save evrentan/77960f1599d56226ef353cc7ec78a98a to your computer and use it in GitHub Desktop.
Declare a Class with Lombok
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tan.myjavarecordexample.dto; | |
import lombok.Data; | |
import java.io.Serializable; | |
@Data | |
public class EnterpriseLombok implements Serializable { | |
String id; | |
String name; | |
String address; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment