pl.vane.pdf.model.PDFPage.java Source code

Java tutorial

Introduction

Here is the source code for pl.vane.pdf.model.PDFPage.java

Source

/*
    
 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: 23:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "json")
public class PDFPage implements Serializable {
    private int id;
    private PDFPageSize size;
    private List<PDFContent> content;
}