package cn.iocoder.yudao.module.inspection.entity;

import java.util.Date;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import cn.iocoder.yudao.annotation.Excel;
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;

/**
 * inspectionFile对象 inspection_file
 *
 * @author zcy
 * @date 2023-10-13
 */
@Data
public class InspectionFile extends TenantBaseDO
{
    private static final long serialVersionUID = 1L;

    /***/
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 店铺主键 */
    private Long partnerId;
    private String fileCode;

    /** 类型1文件夹2文件 */
    @Excel(name = "类型1文件夹2文件")
    private String type;

    /** 父节点 */
    private Long fatherId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

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

    /** 提醒时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提醒时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date warnTime;

    @TableField(exist = false)
    private Map<String,Object> params;
}
