package com.goomood.phm.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.goomood.common.annotation.Excel;
import com.goomood.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件管理实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("als_atlas_file_t")
public class AlsAtlasFileT extends BasePO implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 唯一ID */
    @TableId
    @Excel(name = "唯一ID")
    private String id;

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

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

    /** 文件 */
    @Excel(name = "文件")
    @TableField(value = "url")
    private String url;

    /** 状态 */
    @Excel(name = "状态")
    @TableField(value = "status")
    private String status;


    /** 删除标识（1删除 0未删除） */
    @Excel(name = "删除标识", readConverterExp = "1=删除,0=未删除")
    @TableField(value = "del_flag")
    private Boolean delFlag;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    @TableField(value = "version")
    private Integer version;

}