Created
April 24, 2019 12:54
-
-
Save vjrngn/22b530d7332f40fcb33d8e7f469583c1 to your computer and use it in GitHub Desktop.
Customer entity
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.example.demo; | |
import javax.persistence.*; | |
@Entity | |
@Table(name = "customers") | |
public class Customer { | |
@Id | |
int id; | |
public Customer() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment