BAEL-614 base module for cache-control
This commit is contained in:
committed by
Andrew Morgan
parent
b57cf0cf56
commit
c7203bd564
+10
@@ -0,0 +1,10 @@
|
||||
package com.baeldung.cachecontrol.model;
|
||||
|
||||
|
||||
public class TimestampDto {
|
||||
public final Long timestamp;
|
||||
|
||||
public TimestampDto(Long timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.baeldung.cachecontrol.model;
|
||||
|
||||
|
||||
public class UserDto {
|
||||
public final String name;
|
||||
|
||||
public UserDto(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user