package cn.ey.biz.module.system.controller.admin.file.vo.file;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "管理后台 - 文件 Response VO", description = "不返回 content 字段，太大")
@Data
public class FileRespVO {

    @ApiModelProperty(value = "文件编号", required = true, example = "1024")
    private Long id;

    @ApiModelProperty(value = "文件名", required = true, example = "xxx.jpg")
    private String name;

    @ApiModelProperty(value = "文件路径", required = true, example = "xxx.jpg")
    private String path;

    @ApiModelProperty(value = "客户端ID", required = true, example = "1")
    private Long configId;

    @ApiModelProperty(value = "文件 URL", required = true, example = "https://www.xxx.cn/xxx.jpg")
    private String url;

    @ApiModelProperty(value = "文件类型", example = "jpg")
    private String type;

    @ApiModelProperty(value = "文件大小", example = "2048", required = true)
    private Integer size;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "文件类型")
    private String fileType;

}
