xiukira | 687b9cb | 2025-05-29 15:15:02 +0800 | [diff] [blame] | 1 | package com.g9.g9backend.pojo; |
2 | |||||
3 | import com.github.jeffreyning.mybatisplus.anno.MppMultiId; | ||||
4 | import lombok.*; | ||||
5 | |||||
6 | /** | ||||
7 | * Subscription 实体类,表示订阅的数据模型 | ||||
8 | * | ||||
9 | * @author hcy | ||||
10 | */ | ||||
11 | @Data | ||||
12 | @AllArgsConstructor | ||||
13 | @NoArgsConstructor | ||||
14 | public class Subscription { | ||||
15 | |||||
16 | @MppMultiId | ||||
17 | private int userId; | ||||
18 | |||||
19 | @MppMultiId | ||||
20 | private int followerId; | ||||
21 | } |