package com.propertyManagement.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.propertyManagement.common.annotation.ExcelDictFormat;
import com.propertyManagement.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;

/**
 * 轮播图
视图对象 wx_slideshow
 *
 * @author liushuai
 * @date 2025-06-09
 */
@Data
@ExcelIgnoreUnannotated
public class WxSlideshowVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 图片地址
     */
    @ExcelProperty(value = "图片地址")
    private String url;

    /**
     * 跳转地址
     */
    @ExcelProperty(value = "跳转地址")
    private String skipUrl;

    /**
     * 类型（1首页轮播图  2个人中心轮播图）
     */
    private Integer type;

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


}
