JAVA-16301: Check Article Code Matches GitHub
This commit is contained in:
20
spring-di/src/main/java/com/baeldung/sample/Employee.java
Normal file
20
spring-di/src/main/java/com/baeldung/sample/Employee.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package com.baeldung.sample;
|
||||
|
||||
/**
|
||||
* Created by Gebruiker on 7/17/2018.
|
||||
*/
|
||||
public class Employee {
|
||||
|
||||
private String name;
|
||||
|
||||
public Employee(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Employee{" +
|
||||
"name='" + name + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user