Jelajahi Sumber

feat(notice): add DTO for marking all notices as read

- Created MarkAllNoticesReadDTO class
- Added receiverId field with Swagger documentation
- Added optional noticeType field with Swagger documentation
- Included serialVersionUID for serialization compatibility
- Added Lombok @Data annotation for boilerplate reduction
- Configured Swagger annotations for API documentation integration
wxd 1 bulan lalu
induk
melakukan
d7471b6d5a

+ 28 - 0
alien-store-platform/src/main/java/shop/alien/storeplatform/dto/MarkAllNoticesReadDTO.java

@@ -0,0 +1,28 @@
+package shop.alien.storeplatform.dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import java.io.Serializable;
+
+/**
+ * 批量标记通知已读DTO
+ *
+ * @author ssk
+ * @since 2025-11-17
+ */
+@Data
+@ApiModel(description = "批量标记通知已读请求参数")
+public class MarkAllNoticesReadDTO implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @ApiModelProperty(value = "接收人ID(商户ID)", required = true, example = "store_18241052019")
+    private String receiverId;
+
+    @ApiModelProperty(value = "通知类型(0-系统通知和订单提醒之外的类型,1-系统通知,2-订单提醒)。不传则标记所有类型", required = false, example = "1")
+    private Integer noticeType;
+}
+
+