first commit
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 20s

This commit is contained in:
Namu
2025-09-23 13:14:23 +02:00
commit 3479d5dcee
22 changed files with 367 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package entities;
import utils.SendNotificationStrategy;
public class SmsNotification extends Notification {
public SmsNotification(String content, User user, SendNotificationStrategy strategy) {
super(content, user, strategy);
}
@Override
public void send() {
if (isSendable())
strategy.send(user.id() + " Sms: " + user.name() + " " + content);
}
}