package com.ruoyi.common.core.domain.entity;

import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * 文件对象 file
 * @author ${author}
 * @date 2025-03-18
 */
@Data
@ApiModel("文件")
@TableName(value = "file")
public class File extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;

    @Excel(name = "url")
    @ApiModelProperty("url")
    private String fileUrl;

    @Excel(name = "业务id")
    @ApiModelProperty("业务id")
    private Long bussinessid;

}
