package com.ujcms.cms.core.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ujcms.cms.core.domain.base.AttachmentReferBase;

import java.io.Serializable;

/**
 * 附件引用实体类
 *
 * @author PONY
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties("handler")
public class AttachmentRefer extends AttachmentReferBase implements Serializable {
    private static final long serialVersionUID = 1L;

    public AttachmentRefer() {
    }

    public AttachmentRefer(Long id, Integer attachmentId, String referType, Integer referId) {
        setId(id);
        setAttachmentId(attachmentId);
        setReferType(referType);
        setReferId(referId);
    }
}