package com.gameplatform.server.model.dto.admin;

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

@Schema(description = "公告请求DTO")
public class AnnouncementRequest {
    
    @Schema(description = "公告标题", required = true, example = "系统维护通知")
    private String title;
    
    @Schema(description = "公告内容", required = true, example = "系统将于今晚10点进行维护，预计维护时间2小时")
    private String content;
    
    @Schema(description = "是否启用", required = true, example = "true")
    private Boolean enabled;
    
    @Schema(description = "跳转链接", example = "https://example.com")
    private String jumpUrl;
    
    // belongId字段保留用于内部设置，但不在API文档中暴露
    private Integer belongId;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getJumpUrl() {
        return jumpUrl;
    }

    public void setJumpUrl(String jumpUrl) {
        this.jumpUrl = jumpUrl;
    }

    public Integer getBelongId() {
        return belongId;
    }

    public void setBelongId(Integer belongId) {
        this.belongId = belongId;
    }
}
