package com.kym.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kym.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 附件
 * </p>
 *
 * @author zuy
 * @since 2023-08-12
 */
@Getter
@Setter
@TableName("t_attachment")
public class Attachment extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * uuid
     */
    private String uuid;

    /**
     * 文件名
     */
    private String name;

    /**
     * 链接
     */
    @TableField(exist = false)
    private String url;

    /**
     * 文件大小
     */
    private Long size;

    /**
     * 上传人ID
     */
    private Long uploadBy;

    /**
     * 上传人
     */
    private String uploadName;

    /**
     * 是否删除
     */
    private Boolean isDelete;

}
