package com.microservices.zone.journals.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 通用评论查询VO
 *
 * @author otto
 * @date 2025-04-30
 */
@Data
@ApiModel("评论查询对象")
public class ZoneJournalsSearchVo {
    /** 评论对象ID */
    @NotNull
    @ApiModelProperty(value = "评论对象ID")
    private Long journalized_id;

    /** 评论对象类型 */
    @NotBlank
    @ApiModelProperty(value = "评论对象类型（资源：resource）")
    private String journalized_type;
}
