docs: serialized entity

This commit is contained in:
Ilkka Seppälä
2024-05-19 20:50:49 +03:00
parent ddf20b8262
commit d798a53b03
5 changed files with 150 additions and 164 deletions
@@ -23,6 +23,7 @@
* THE SOFTWARE.
*/
package com.iluwatar.serializedentity;
import java.io.Serial;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
@@ -44,6 +45,7 @@ public class Country implements Serializable {
private String name;
private String continents;
private String language;
public static final long serialVersionUID = 7149851;
@Serial
private static final long serialVersionUID = 7149851;
}
@@ -22,6 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
/**
* In an application the Data Access Object (DAO) is a part of Data access layer. It is an object
* that provides an interface to some type of persistence mechanism. By mapping application calls to