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 lombok.*; |
| 5 | |
| 6 | /** |
| 7 | * User 实体类,表示用户的数据模型 |
| 8 | * |
| 9 | * @author hcy |
| 10 | */ |
| 11 | @Data |
| 12 | @AllArgsConstructor |
| 13 | @NoArgsConstructor |
| 14 | public class User { |
| 15 | |
| 16 | @TableId |
| 17 | private int userId; |
| 18 | |
| 19 | private String username; |
| 20 | |
| 21 | private String password; |
| 22 | |
| 23 | private String avatar; |
| 24 | |
| 25 | private int followerCount; |
| 26 | |
| 27 | private int subscriberCount; |
| 28 | |
| 29 | private String signature; |
| 30 | |
| 31 | private int uploadAmount; |
| 32 | |
| 33 | private int purchaseAmount; |
| 34 | |
| 35 | private int credits; |
| 36 | } |