Created
February 14, 2022 16:51
-
-
Save recursivecodes/9f38ce2edabb838b9e918d8fc1246f12 to your computer and use it in GitHub Desktop.
Movie.java
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
@MappedEntity | |
@AllArgsConstructor(access = AccessLevel.PACKAGE) | |
@NoArgsConstructor | |
@Data | |
@EqualsAndHashCode | |
public class Movie { | |
@Id | |
@GeneratedValue | |
private String id; | |
private String title; | |
private String description; | |
private Integer rating; | |
private Integer runtimeMinutes; | |
private LocalDateTime releasedOn; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment