novel-reader/src/main/java/com/novelreader/dto/BookmarkRequest.java
2025-12-06 18:19:46 +08:00

18 lines
387 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.novelreader.dto;
import javax.validation.constraints.NotBlank;
import lombok.Data;
@Data
public class BookmarkRequest {
@NotBlank
private String novelId;
@NotBlank
private String chapterId;
private Integer position;
private String note;
// 简单自用场景用户ID可选不传时服务层使用默认用户
private String userId;
}