Both Volunteers and C and D Waste included in this project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
856 B

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. package com.volunteersregistration.entity;
  2. import jakarta.annotation.Generated;
  3. import jakarta.persistence.Entity;
  4. import jakarta.persistence.GeneratedValue;
  5. import jakarta.persistence.GenerationType;
  6. import jakarta.persistence.Id;
  7. @Entity
  8. public class LoginDetail {
  9. @Id
  10. @GeneratedValue(strategy = GenerationType.IDENTITY)
  11. private int id;
  12. private long mobileno;
  13. private String pin;
  14. private String usertype;
  15. public int getId() {
  16. return id;
  17. }
  18. public void setId(int id) {
  19. this.id = id;
  20. }
  21. public long getMobileno() {
  22. return mobileno;
  23. }
  24. public void setMobileno(long mobileno) {
  25. this.mobileno = mobileno;
  26. }
  27. public String getPin() {
  28. return pin;
  29. }
  30. public void setPin(String pin) {
  31. this.pin = pin;
  32. }
  33. public String getUsertype() {
  34. return usertype;
  35. }
  36. public void setUsertype(String usertype) {
  37. this.usertype = usertype;
  38. }
  39. }