mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-26 22:15:06 +08:00
新增 用户添加/取消收藏站点接口、用户查询收藏站点列表接口
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package com.jsowell.pile.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 个人收藏站点DTO
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2025/3/20 13:38:38
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class CollectedStationDTO {
|
||||
private String memberId;
|
||||
|
||||
private String stationId;
|
||||
|
||||
/**
|
||||
* 操作类型
|
||||
* true - 收藏
|
||||
* false - 取消收藏
|
||||
*/
|
||||
private boolean operatorType;
|
||||
}
|
||||
@@ -125,6 +125,8 @@ public class QueryStationDTO extends BaseEntity {
|
||||
|
||||
private List<String> stationIds;
|
||||
|
||||
private String memberId;
|
||||
|
||||
@Data
|
||||
public static class OtherOptions {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user