BAEL-16838 Slice 5 | The top 100 articles should have their own package in the module (#7632)

- Moved snippets in correct packages
This commit is contained in:
Dhawal Kapil
2019-08-25 04:28:47 +05:30
committed by Josh Cummings
parent 64f32d82eb
commit d05905664f
11 changed files with 30 additions and 11 deletions

View File

@@ -0,0 +1,30 @@
package com.baeldung.configurationproperties;
public class Employee {
private String name;
private double salary;
public Employee(String name, double salary) {
super();
this.name = name;
this.salary = salary;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public double getSalary() {
return salary;
}
public void setSalary(double salary) {
this.salary = salary;
}
}