From cb71b14eae2f5b1df7bf1db17ba9e42cab239d8f Mon Sep 17 00:00:00 2001 From: piobkljxg <1573729895@qq.com> Date: Sun, 26 Oct 2025 21:05:11 +0800 Subject: [PATCH] ADD file via upload --- EmailService.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 EmailService.java diff --git a/EmailService.java b/EmailService.java new file mode 100644 index 0000000..df09433 --- /dev/null +++ b/EmailService.java @@ -0,0 +1,14 @@ +public class EmailService { + + public void sendHireEmail(Employee employee) { + System.out.println("Hire email sent to " + employee.getEmail()); + } + + public void sendSalaryAdjustmentEmail(Employee employee) { + System.out.println("Salary adjustment email sent to " + employee.getEmail()); + } + + public void sendTerminationEmail(Employee employee) { + System.out.println("Termination email sent to " + employee.getEmail()); + } +} \ No newline at end of file