package com.jeesharp.business.modules.setting.vo;

import com.jeesharp.framework.pojo.vo.BaseInfoVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 开屏广告后台展示 VO。
 *
 * @author jeesharp
 * @since 2026-04-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "开屏广告信息")
public class AppSplashAdVO extends BaseInfoVO {

    @Schema(description = "端")
    private String platform;

    @Schema(description = "媒体类型值")
    private Integer mediaType;

    @Schema(description = "媒体类型名称")
    private String mediaTypeName;

    @Schema(description = "资源 URL")
    private String mediaUrl;

    @Schema(description = "视频封面")
    private String posterUrl;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "副标题")
    private String subtitle;

    @Schema(description = "链接")
    private String linkUrl;

    @Schema(description = "倒计秒数")
    private Integer durationSec;

    @Schema(description = "是否可跳过 0/1")
    private Integer skippable;

    @Schema(description = "展示开始")
    private LocalDateTime displayBegin;

    @Schema(description = "展示结束")
    private LocalDateTime displayEnd;

    @Schema(description = "排序")
    private Integer sortOrder;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "创建时间")
    private LocalDateTime createDate;
}
