8 changed files with 126 additions and 12 deletions
@ -0,0 +1,21 @@ |
|||
package com.youlai.boot.mini.model.query; |
|||
|
|||
import com.youlai.boot.common.base.BaseQuery; |
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import jakarta.validation.constraints.NotBlank; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
@Data |
|||
@EqualsAndHashCode(callSuper = true) |
|||
@Schema(description = "动物笔记二级评论分页查询参数") |
|||
public class AnimalNoteSecondLevelCommentQueryParam extends BaseQuery { |
|||
|
|||
@NotBlank(message = "笔记uuid不能为空") |
|||
@Schema(description = "动物笔记uuid", requiredMode = Schema.RequiredMode.REQUIRED, example = "0677d62d63ec693bf1bd6dab8a877dc1") |
|||
private String noteUuId; |
|||
|
|||
@NotBlank(message = "一级评论uuid不能为空") |
|||
@Schema(description = "一级评论uuid", requiredMode = Schema.RequiredMode.REQUIRED, example = "a1b2c3d4e5f6g7h8i9j0") |
|||
private String rootUuid; |
|||
} |
|||
Loading…
Reference in new issue