Created
March 13, 2018 14:57
-
-
Save pablocloud/b9ea30a11e549fa9823b0e9a57a81ff5 to your computer and use it in GitHub Desktop.
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.besuricata.rest.domain; | |
import javax.persistence.Entity; | |
import javax.persistence.GeneratedValue; | |
import javax.persistence.Id; | |
import java.io.Serializable; | |
@Entity | |
public class Suricata implements Serializable { | |
@Id | |
@GeneratedValue | |
private Long id; | |
private String name; | |
private Double height; | |
public Suricata() { | |
} | |
public Suricata(String name, Double height) { | |
this.name = name; | |
this.height = height; | |
} | |
public Long getId() { | |
return id; | |
} | |
public String getName() { | |
return name; | |
} | |
public void setName(String name) { | |
this.name = name; | |
} | |
public Double getHeight() { | |
return height; | |
} | |
public void setHeight(Double height) { | |
this.height = height; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment