package com.miaxis.file.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.miaxis.common.annotation.Excel;
import com.miaxis.common.core.domain.BaseBusinessEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 文件对象 file_info
 *
 * @author wwl
 * @version 1.0
 * @date 2021/10/28 14:30
 */
@Data
@TableName("file_info")
@ApiModel(value = "FileInfo", description = "文件对象 file_info")
public class FileInfo extends BaseBusinessEntity {
    private static final long serialVersionUID = 1L;

    /** 自增id */
    @TableId(value = "file_id")
    @ApiModelProperty(value = "自增id")
    private Long fileId;

    /** 顺序 */
    @Excel(name = "顺序")
    @TableField("seq")
    @ApiModelProperty(value = "顺序")
    private Long seq;

    /** 文件业务类型 */
    @Excel(name = "文件业务类型")
    @TableField("file_type")
    @ApiModelProperty(value = "文件业务类型")
    private String fileType;

    /** 备注 */
    @Excel(name = "备注")
    @TableField("remark")
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 文件url(访问地址) */
    @Excel(name = "文件url(访问地址)")
    @TableField("file_url")
    @ApiModelProperty(value = "文件url(访问地址)")
    private String fileUrl;

    /** 文件路径 */
    @Excel(name = "文件路径")
    @TableField("file_path")
    @ApiModelProperty(value = "文件路径")
    private String filePath;


}
