package com.xindazhou.business.controller.admin.community.banner.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - Banner Response VO")
@Data
public class BannerRespVO {

    @Schema(description = "Banner ID", example = "1")
    private Long id;

    @Schema(description = "Banner编号", example = "1")
    private Long bannerId;

    @Schema(description = "Banner图片URL", example = "https://example.com/banner.jpg")
    private String imageUrl;

    @Schema(description = "说明", example = "说明")
    private String description;

    @Schema(description = "状态：0-未上架，1-已上架，2-已下架", example = "1")
    private Integer status;

    @Schema(description = "上架时间")
    private LocalDateTime onlineTime;

    @Schema(description = "下架时间")
    private LocalDateTime offlineTime;

    @Schema(description = "推送类型：1-社区文章，2-社区活动，3-外部链接", example = "1")
    private Integer pushType;

    @Schema(description = "推送目标", example = "文章ID/活动ID/外部链接URL")
    private String pushTarget;

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

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

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}

