content: package spring.project.configure;
  
  import javax.persistence.Entity;
  import javax.persistence.GeneratedValue;
  import javax.persistence.GenerationType;
  import javax.persistence.Id;
  
  /**
   * @Created 04 / 05 / 2020 - 5:29 PM
   * @project EmployeeSearch
   * @Author Hamdamboy
   */
  @Entity
  public class Employee {
  
      @Id
      @GeneratedValue(strategy = GenerationType.AUTO)
      private Long id;
  
      private String name;
      private String email;
      private String address;
  
      public Employee(String name, String email, String address){
          this.name = name;
          this.email = email;
          this.address = address;
      }
  
      
      public Employee(){}
  
  
      public Long getId() {
  
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public String getEmail() {
          return email;
      }
  
      public void setEmail(String email) {
          this.email = email;
      }
  
      public String getAddress() {
          return address;
      }
  
      public void setAddress(String address) {
          this.address = address;
      }
  }
  