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