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

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Schema(description = "管理后台 - 话题保存 Request VO")
@Data
public class TopicSaveReqVO {

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

    @Schema(description = "话题名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "Java")
    @NotBlank(message = "话题名称不能为空")
    private String name;

    @Schema(description = "话题描述", example = "Java编程相关话题")
    private String description;

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

    @Schema(description = "状态：1-正常，2-禁用", example = "1")
    private Integer status;

}

