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.

42 lines
1011 B

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. package com.volunteersregistration.config;
  2. import org.springframework.context.annotation.Scope;
  3. import org.springframework.stereotype.Component;
  4. import org.springframework.web.context.WebApplicationContext;
  5. import org.springframework.context.annotation.ScopedProxyMode;
  6. @Component
  7. @Scope(value = WebApplicationContext.SCOPE_SESSION, proxyMode = ScopedProxyMode.TARGET_CLASS)
  8. public class UserSession {
  9. private Integer userId;
  10. private long mobNo;
  11. private String userType;
  12. private String dispayName;
  13. public Integer getUserId() {
  14. return userId;
  15. }
  16. public void setUserId(Integer userId) {
  17. this.userId = userId;
  18. }
  19. public long getMobNo() {
  20. return mobNo;
  21. }
  22. public void setMobNo(long mobNo) {
  23. this.mobNo = mobNo;
  24. }
  25. public String getUserType() {
  26. return userType;
  27. }
  28. public void setUserType(String userType) {
  29. this.userType = userType;
  30. }
  31. public String getDispayName() {
  32. return dispayName;
  33. }
  34. public void setDispayName(String dispayName) {
  35. this.dispayName = dispayName;
  36. }
  37. }