package com.xiaoniu.system.platformsettings.advertis.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Author haoxuyang
 * @Date 2024/10/10 14:04
 */
@Data
@Schema(description = "广告位列表响应参数VO")
public class AdvertisListVO {
    @Schema(description = "ID")
    private Long id;

    @Schema(description = "跳转类型（1-微信公众号 2-微信小程序 3-不跳转 4-链接地址）")
    private Integer jumpType;

    @Schema(description = "跳转资源、连接")
    private String jumpResources;

    @Schema(description = "广告位图片")
    private String advertisImage;

    @Schema(description = "广告位置（1-全部 2-首页轮播 3-个人中心 4-首页底部）")
    private String advertisAddress;

    @Schema(description = "类型状态（1-显示 2-隐藏）")
    private Integer status;

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

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建",hidden = true)
    private Date createTime;
}
