[BAEL-19881] - Rename spring-mvc-simple modules

This commit is contained in:
catalin-burcea
2019-12-16 18:35:04 +02:00
parent bc917e677c
commit 90dab2770d
213 changed files with 301 additions and 302 deletions

View File

@@ -0,0 +1,31 @@
package org.baeldung.boot.domain;
import static org.apache.commons.lang3.RandomStringUtils.randomAlphanumeric;
public class Foo extends AbstractEntity {
private String name;
public Foo(long id) {
super(id);
name = randomAlphanumeric(4);
}
public Foo(long id, String name) {
super(id);
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public String toString() {
return "Foo [name=" + name + ", id=" + id + "]";
}
}