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 | * Community 实体类,表示社区的数据模型 |
| 8 | * |
| 9 | * @author hcy |
| 10 | */ |
| 11 | @Data |
| 12 | @AllArgsConstructor |
| 13 | @NoArgsConstructor |
| 14 | public class Community { |
| 15 | |
| 16 | @TableId |
| 17 | private int communityId; |
| 18 | |
| 19 | private String communityName; |
| 20 | |
| 21 | private String communityPicture; |
| 22 | |
| 23 | private String description; |
| 24 | |
| 25 | private float hot; |
| 26 | |
| 27 | private String type; |
| 28 | |
| 29 | private int threadNumber; |
| 30 | |
| 31 | private int resourceId; |
| 32 | } |