package org.dromara.inspection.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.util.Date;

/**
 * 步骤媒体文件对象 ar_step_media
 *
 * @author Lion Li
 * @date 2025-01-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ar_step_media")
public class ArStepMedia extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 媒体ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 步骤记录ID
     */
    private Long stepRecordId;

    /**
     * 媒体类型
     */
    private String mediaType;

    /**
     * 文件URL
     */
    private String fileUrl;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 文件大小(字节)
     */
    private Long fileSize;

    /**
     * 上传时间
     */
    private Date uploadTime;

    /**
     * 删除标志
     */
    @TableLogic
    private Integer delFlag;

}
