package com.ruoyi.export.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 lombok.Data;
import java.util.Date;



/**
 * 轮播图视图对象 export_carousel
 *
 * @author ruoyi
 * @date 2025-07-16
 */
@Data
@ExcelIgnoreUnannotated
public class ExportCarouselVo {

    private static final long serialVersionUID = 1L;

    /**
     * 轮播图主键
     */
    @ExcelProperty(value = "轮播图主键")
    private Long carouselId;

    /**
     * 语言编码
     */
    @ExcelProperty(value = "语言编码")
    private String langCode;

    /**
     * 轮播标题
     */
    @ExcelProperty(value = "轮播标题")
    private String title;

    /**
     * 轮播说明
     */
    @ExcelProperty(value = "轮播说明")
    private String caption;

    /**
     * 图片链接
     */
    @ExcelProperty(value = "图片链接")
    private String imageUrl;

    /**
     * 点击跳转 URL
     */
    @ExcelProperty(value = "点击跳转 URL")
    private String linkUrl;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Long sortOrder;

    /**
     * 是否启用（0=否，1=是）
     */
    @ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0==否，1=是")
    private Integer isEnabled;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
