package cn.reghao.tnb.search.app.comment.model.dto;

import cn.reghao.tnb.content.api.constant.PostScope;
import cn.reghao.jutil.jdk.web.validator.ValidEnum;
import lombok.Getter;

import jakarta.validation.constraints.NotBlank;

/**
 * @author reghao
 * @date 2023-10-07 18:31:21
 */
@Getter
public class UpdateArticleScope {
    @NotBlank
    private String articleId;
    @ValidEnum(value = PostScope.class, message = "可见范围不正确")
    private Integer scope;
}
