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

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

@Schema(description = "管理后台 - 更新帖子状态 Request VO")
@Data
public class PostUpdateStatusReqVO {

    @Schema(description = "帖子ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "帖子ID不能为空")
    private Long id;

    @Schema(description = "状态：1-正常，2-删除，3-审核中", example = "1")
    private Integer status;

    @Schema(description = "是否置顶：0-否，1-是", example = "0")
    private Integer isTop;

    @Schema(description = "是否精华：0-否，1-是", example = "0")
    private Integer isEssence;

}

