插件开发工具库,推荐依赖该工具库。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
804 B

package com.fanruan.api.attachment;
import com.fr.cache.AttachmentFileBase;
/**
* 附件信息类,用来存储FR中的各种附件
* */
public class Attachment extends com.fr.cache.Attachment{
/**
* 根据给定的编号、类型、文件名和二进制数组创建一个附件对象
* */
public Attachment(String id, String type, String filename, AttachmentFileBase attachmentFileBase){
super(id, type, filename, attachmentFileBase);
}
/**
* 根据给定的编号、类型、文件名、二进制数组、宽度和高度创建一个附件对象
* */
public Attachment(String id, String type, String filename, AttachmentFileBase attachmentFileBase, int width, int height){
super(id, type, filename, attachmentFileBase, width, height);
}
}