package org.springblade.file.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 *  附件详情对象
 * @author bfhuange
 * @date 2024/10/30
 */
@Data
@Schema(description = "附件详情对象")
public class AttachmentDetailVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     *  主键id
     */
    @Schema(description = "主键id")
    private Long id;

    /**
     * 附件名
     */
    @Schema(description = "附件名")
    private String attachmentName;

    /**
     * objectKey
     */
    @Schema(description = "华为OBS objectKey")
    private String objectKey;

    /**
     * 附件大小(单位:B)
     */
    @Schema(description = "附件大小(单位:B)")
    private long size;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private Long createUser;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private Long updateUser;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private Date updateTime;

    /**
     *  下载链接
     */
    @Schema(description = "下载链接")
    private String url;
}
