Created
August 1, 2022 11:06
-
-
Save atesibrahim/54d139c6c997efacee355c9af1bb211a to your computer and use it in GitHub Desktop.
GraphQL book
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
@Getter | |
@Setter | |
@RequiredArgsConstructor | |
@AllArgsConstructor | |
@Builder | |
@Entity | |
@Table(name = "Book") | |
public class Book { | |
@Id | |
@GeneratedValue(strategy=GenerationType.AUTO) | |
private Long id; | |
@Column | |
private String title; | |
@Column(name = "author_name") | |
private String authorName; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment