| package com.g9.g9backend.pojo; |
| |
| import com.baomidou.mybatisplus.annotation.IdType; |
| import com.baomidou.mybatisplus.annotation.TableId; |
| import lombok.*; |
| |
| import java.util.Date; |
| |
| /** |
| * Resource 实体类,表示资源的数据模型 |
| * |
| * @author hcy |
| */ |
| @Data |
| @AllArgsConstructor |
| @NoArgsConstructor |
| public class Resource { |
| |
| @TableId(type = IdType.AUTO) |
| private int resourceId; |
| |
| private String resourceName; |
| |
| private String resourcePicture; |
| |
| private String resourceSummary; |
| |
| private String resourceDetail; |
| |
| private Date uploadTime; |
| |
| private Date lastUpdateTime; |
| |
| private float price; |
| |
| private int downloads; |
| |
| private int likes; |
| |
| private int collections; |
| |
| private int comments; |
| |
| private int seeds; |
| |
| private String classify; |
| } |