Guest User

Untitled

a guest
Jan 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. import org.springframework.stereotype.Component;
  2.  
  3. @Component
  4. public class MyBean1 {
  5. private int num;
  6.  
  7. public int getNum() {
  8. return num;
  9. }
  10.  
  11. public void setNum(int num) {
  12. this.num = num;
  13. }
  14.  
  15. private String nombre;
  16.  
  17. public String getNombre() {
  18. return nombre;
  19. }
  20.  
  21. public void setNombre(String nombre) {
  22. this.nombre = nombre;
  23. }
  24.  
  25. public MyBean1(){
  26. }
  27. }
Add Comment
Please, Sign In to add comment