| package com.g9.g9backend.pojo; |
| |
| import com.baomidou.mybatisplus.annotation.IdType; |
| import com.baomidou.mybatisplus.annotation.TableId; |
| import lombok.*; |
| |
| /** |
| * User 实体类,表示用户的数据模型 |
| * |
| * @author hcy |
| */ |
| @Data |
| @AllArgsConstructor |
| @NoArgsConstructor |
| public class User { |
| |
| @TableId(type = IdType.AUTO) |
| private int userId; |
| |
| private String username; |
| |
| private String password; |
| |
| private String avatar; |
| |
| private int followerCount; |
| |
| private int subscriberCount; |
| |
| private String signature; |
| |
| private int uploadAmount; |
| |
| private int purchaseAmount; |
| |
| private int credits; |
| } |