package com.bonus.system.api.domain;

import lombok.Data;

/**
 * 返回的文件进行统一封装
 * 无论是 mongodb还是 oss、还是本地存储 还是obs等 进行统一的 数据返回和文件上传
 */
@Data
public class SysFileVo {

    private String file;

    private String fileId;

    private String fileName;

    private String contentType;

    private String suffix;

    private long fileSize;

    private String sourceId;

    private String id;

    private String fileType;

    private String sourceType;

    private String updaetTime;

    private byte[] data;
    /**
     *文件路径
     */
    private String url;

}
