import path from 'path'
import lodash from 'lodash'
export default class CnflAttachment {

    constructor(filename, pageId) {
        this.lodash = lodash;
        this.cnflObject = '';
        this.path = path;
        this.filename = filename;
        this.localFilepath = this.path.join('temp', filename);
        this.pageId = pageId;
    }

    toJSON() {
        return this.lodash.omit(this, ['path']);
    }
}
