Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.springframework.stereotype.Component;
- @Component
- public class MyBean1 {
- private int num;
- public int getNum() {
- return num;
- }
- public void setNum(int num) {
- this.num = num;
- }
- private String nombre;
- public String getNombre() {
- return nombre;
- }
- public void setNombre(String nombre) {
- this.nombre = nombre;
- }
- public MyBean1(){
- }
- }
Add Comment
Please, Sign In to add comment