Created
January 22, 2022 19:50
-
-
Save httpmurilo/8e111550c19541e641ad6e9c57191607 to your computer and use it in GitHub Desktop.
Customer
This file contains hidden or 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 io.murilo.store.model; | |
import javax.persistence.*; | |
@Entity | |
@Table | |
public class Customer { | |
@Id | |
@GeneratedValue(strategy = GenerationType.IDENTITY) | |
private Integer id; | |
private String name; | |
private Integer age; | |
private boolean active; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment