Java tutorial
/* Copyright (c) 2015-2015, Michal Szczepanski All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. */ package pl.vane.pdf.model; import com.fasterxml.jackson.annotation.JsonTypeInfo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import java.util.List; /** * Author: Michal Szczepanski * Date: 23/03/15 * Time: 21:32 */ @Data @NoArgsConstructor @AllArgsConstructor @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "json") public class PDFDocument implements Serializable { private String name; private List<PDFFont> font; private List<PDFPage> page; }