package com.ruoyi.clock.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;


/**
 * 广告视图对象 tb_ad
 *
 * @author pengc
 * @date 2026-03-04
 */
@Data
@ApiModel("广告视图对象")
@ExcelIgnoreUnannotated
public class AdVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 广告id
     */
    @ApiModelProperty("广告id")
    private Long adId;

    /**
     * 广告位置
     */
    @ApiModelProperty("广告位置")
    private String locationCode;
    /**
     * 广告图片
     */
    @ExcelProperty(value = "广告图片")
    @ApiModelProperty("广告图片")
    private String image;

    /**
     * 外部链接地址
     */
    @ExcelProperty(value = "外部链接地址")
    @ApiModelProperty("外部链接地址")
    private String outsideAddress;

    /**
     * 序号
     */
    @ExcelProperty(value = "序号")
    @ApiModelProperty("序号")
    private Integer orderIndex;

    /**
     * 上架状态（启用/隐藏）
     */
    @ExcelProperty(value = "上架状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "启=用/隐藏")
    @ApiModelProperty("上架状态（启用/隐藏）")
    private Integer status;


}
