package com.bonus.common.entity.file;

import com.bonus.common.security.utils.SecurityUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author：cwchen
 * @date：2024-03-12-9:29
 * @version：1.0
 * @description：文件资源-vo
 */
@Data
public class ResourceFileVo {

    @ApiModelProperty(value = "文件名称")
    private String 	fileName;

    @ApiModelProperty(value = "文件后缀")
    private String 	fileSuffix;

    @ApiModelProperty(value = "文件id/路径")
    private String filePath;

    @ApiModelProperty(value = "文件类型 0 文件 1图片")
    private Integer fileType;

    @ApiModelProperty(value = "文件id")
    private Long fileId;

    @ApiModelProperty(value = "图片类型")
    private Integer sourceImagType;

    @ApiModelProperty(value = "业务id")
    private String 	sourceId;

    @ApiModelProperty(value = "业务类型")
    private String sourceType;

    @ApiModelProperty(value = "创建日期")
    private Date createTime = new Date();

    @ApiModelProperty(value = "创建人")
    private Long createUser = SecurityUtils.getUserId();

    @ApiModelProperty(value = "修改日期")
    private Date updateTime = new Date();

    @ApiModelProperty(value = "修改人")
    private Long updateUser = SecurityUtils.getUserId();

    @ApiModelProperty(value = "是否删除")
    private Integer delFlag = 0;

    @ApiModelProperty(value = "图片")
    private  String Bast64Image;
}
