package cn.ezhizao.project.tool.file.domain;

import cn.ezhizao.framework.aspectj.lang.annotation.Excel;
import cn.ezhizao.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 文件库对象 biz_file
 *
 * @author zhushan
 * @date 2022-12-15
 */
@Data
@TableName(value = "biz_file")
public class File extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 所属表名 */
    @ApiModelProperty(value = "从属表名")
    private String masterTableName;

    /** 关联表id */
    @ApiModelProperty(value = "从属对象主键")
    private Long masterTableId;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /** 存储地址 */
    @Excel(name = "存储地址")
    @ApiModelProperty(value = "名称")
    private String url;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private Integer status;

}
