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