package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 素材资源对象 robot_ops_media_asset
 * 
 * @author ruoyi
 * @date 2026-05-08
 */
public class RobotOpsMediaAsset extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 素材名称 */
    @Excel(name = "素材名称")
    private String assetName;

    /** 素材类型 */
    @Excel(name = "素材类型")
    private String assetType;

    /** 素材文件地址 */
    private String fileUrl;

    /** 缩略图地址 */
    @Excel(name = "缩略图地址")
    private String thumbnailUrl;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private Long fileSize;

    /** 文件格式 */
    @Excel(name = "文件格式")
    private String fileFormat;

    /** 文件MIME类型，如image/jpeg、video/mp4 */
    @Excel(name = "文件MIME类型，如image/jpeg、video/mp4")
    private String mimeType;

    /** 视频时长，单位秒；图片为空 */
    @Excel(name = "视频时长，单位秒；图片为空")
    private Long durationSeconds;

    /** 分辨率，如1920x1080 */
    @Excel(name = "分辨率，如1920x1080")
    private String resolution;

    /** 启用状态：0停用，1启用 */
    @Excel(name = "启用状态：0停用，1启用")
    private String status;

    /** 是否被播放方案引用：0否，1是，由系统维护 */
    @Excel(name = "是否被播放方案引用：0否，1是，由系统维护")
    private String quotedFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAssetName(String assetName) 
    {
        this.assetName = assetName;
    }

    public String getAssetName() 
    {
        return assetName;
    }

    public void setAssetType(String assetType) 
    {
        this.assetType = assetType;
    }

    public String getAssetType() 
    {
        return assetType;
    }

    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }

    public void setThumbnailUrl(String thumbnailUrl) 
    {
        this.thumbnailUrl = thumbnailUrl;
    }

    public String getThumbnailUrl() 
    {
        return thumbnailUrl;
    }

    public void setFileSize(Long fileSize) 
    {
        this.fileSize = fileSize;
    }

    public Long getFileSize() 
    {
        return fileSize;
    }

    public void setFileFormat(String fileFormat) 
    {
        this.fileFormat = fileFormat;
    }

    public String getFileFormat() 
    {
        return fileFormat;
    }

    public void setMimeType(String mimeType) 
    {
        this.mimeType = mimeType;
    }

    public String getMimeType() 
    {
        return mimeType;
    }

    public void setDurationSeconds(Long durationSeconds) 
    {
        this.durationSeconds = durationSeconds;
    }

    public Long getDurationSeconds() 
    {
        return durationSeconds;
    }

    public void setResolution(String resolution) 
    {
        this.resolution = resolution;
    }

    public String getResolution() 
    {
        return resolution;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setQuotedFlag(String quotedFlag) 
    {
        this.quotedFlag = quotedFlag;
    }

    public String getQuotedFlag() 
    {
        return quotedFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assetName", getAssetName())
            .append("assetType", getAssetType())
            .append("fileUrl", getFileUrl())
            .append("thumbnailUrl", getThumbnailUrl())
            .append("fileSize", getFileSize())
            .append("fileFormat", getFileFormat())
            .append("mimeType", getMimeType())
            .append("durationSeconds", getDurationSeconds())
            .append("resolution", getResolution())
            .append("status", getStatus())
            .append("quotedFlag", getQuotedFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
