package com.dora.dto;

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

import java.time.LocalDateTime;

/**
 * Banner图列表DTO
 */
@Data
@Schema(description = "Banner图列表信息")
public class BannerListDto {
    
    @Schema(description = "Banner ID", example = "1")
    private Long id;
    
    @Schema(description = "图片URL", example = "https://example.com/banner.jpg")
    private String image;
    
    @Schema(description = "标题", example = "创作计划")
    private String title;
    
    @Schema(description = "描述", example = "创作者计划详情")
    private String description;
    
    @Schema(description = "按钮文字", example = "立即查看")
    private String buttonText;
    
    @Schema(description = "链接类型(internal: 内部路由跳转, external: 外部链接跳转)", example = "external")
    private String linkType;
    
    @Schema(description = "跳转链接", example = "https://example.com")
    private String link;
    
    @Schema(description = "排序字段", example = "1")
    private Integer sortOrder;
    
    @Schema(description = "是否启用", example = "true")
    private Boolean isEnabled;
    
    @Schema(description = "创建时间", example = "2024-01-15T10:30:00")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间", example = "2024-01-15T10:30:00")
    private LocalDateTime updateTime;
}
