mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 20:59:07 +00:00
feat: added notification pattern (#2629)
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.iluwatar;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* Layer super type for all Data Transfer Objects.
|
||||
* Also contains code for accessing our notification.
|
||||
*/
|
||||
@Getter
|
||||
@NoArgsConstructor
|
||||
public class DataTransferObject {
|
||||
|
||||
private final Notification notification = new Notification();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user