package com.yuchen.saas.park.api.entity.park;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * @author 刘碧清
 * @date 2021/04/26 11:13
 */
@Data
@TableName("pmg_bat_park_file_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "文件信息对象", description = "文件信息表")
public class PmgBatParkFileInfo extends TenantEntity {
    /**
     * 文件名称
     */
    @ApiModelProperty(value = "文件名称")
    private String fileName;
    /**
     * 文件路径
     */
    @ApiModelProperty(value = "文件路径")
    private String fileSrc;
    /**
     * 文件类型(图片，文档，pdf、视频等)
     */
    @ApiModelProperty(value = "文件类型")
    private String fileType;

    /**
     * 园区id
     */
    @ApiModelProperty(value = "园区id")
    @TableField(exist = false)
    private Long parkId;
}
