Created
April 3, 2017 20:15
-
-
Save hudsonmendes/c2c03b12dc72df7732ec0e3aaec72acf to your computer and use it in GitHub Desktop.
VisitorEntity.java (v2)
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.hudsonmendes.microservice1; | |
import org.springframework.data.annotation.Id; | |
public class VisitorEntity { | |
@Id | |
private String id; | |
private String name; | |
public String getId() { | |
return id; | |
} | |
public void setId(final String id) { | |
this.id = id; | |
} | |
public String getName() { | |
return name; | |
} | |
public void setName(final String name) { | |
this.name = name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment