package com.yccrc.kede.domain;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.*;
import com.yccrc.common.core.domain.BaseEntity;
import com.yccrc.kede.enums.AttachTypeEnum;

/**
 * @author yccrc
 * @date 2022-04-25
 */
@Data
@TableName("attach")
@ApiModel(value = "附件信息")
public class Attach extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
	@TableId
	@ApiModelProperty(value = "ID")
    private Long id;

    /** 存储文件名 */
	@ApiModelProperty(value = "存储文件名")
    private String fileKey;

    /** 大小 */
	@ApiModelProperty(value = "大小")
    private Long fileSize;

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

    /** 原文件名 */
	@ApiModelProperty(value = "原文件名")
    private String fileName;

    /** 路径 */
	@ApiModelProperty(value = "路径")
    private String url;

	@ApiModelProperty(value = "项目类型")
    private AttachTypeEnum attachType;
	
    /** 项目ID */
	@ApiModelProperty(value = "数据ID")
    private Integer dataId;

    /** 删除标记 1:已删除 */
	@ApiModelProperty(value = "删除标记 1:已删除")
    private Integer deleteFlag;

}
