package cn.iocoder.yudao.module.contract.utils;

import lombok.Data;

/**
 * @author：邹祥发
 * @date：2022/11/25 10:36
 * @description：pdf添加签名实体类
 */
@Data
public class PdfAddContentParam {

    /**
     *  要添加的文字
     */
    private String content;

    /**
     * 页码
     */
    private Integer pageNum;

    /**
     * 关键字
     */
    private String keyword;

    /**
     * 文本框坐标（左下角x,y,右上角x,y）
     */
    private Float llx;
    private Float lly;
    private Float urx;
    private Float ury;

    public PdfAddContentParam() {
    }

    public PdfAddContentParam(String content, Integer pageNum, Float llx, Float lly, Float urx, Float ury) {
        this.content = content;
        this.pageNum = pageNum;
        this.llx = llx;
        this.lly = lly;
        this.urx = urx;
        this.ury = ury;
    }

    public PdfAddContentParam(String content, String keyword, Float llx, Float lly, Float urx, Float ury) {
        this.content = content;
        this.keyword = keyword;
        this.llx = llx;
        this.lly = lly;
        this.urx = urx;
        this.ury = ury;
    }
}
