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 | import java.util.Date; |
| 7 | |
| 8 | /** |
| 9 | * Reward 实体类,表示悬赏的数据模型 |
| 10 | * |
| 11 | * @author hcy |
| 12 | */ |
| 13 | @Data |
| 14 | @AllArgsConstructor |
| 15 | @NoArgsConstructor |
| 16 | public class Reward { |
| 17 | |
| 18 | @TableId |
| 19 | private int rewardId; |
| 20 | |
| 21 | private String rewardName; |
| 22 | |
| 23 | private String rewardPicture; |
| 24 | |
| 25 | private int userId; |
| 26 | |
| 27 | private float price; |
| 28 | |
| 29 | private String rewardDescription; |
| 30 | |
| 31 | private Date createAt; |
| 32 | |
| 33 | private Date lastUpdateAt; |
| 34 | |
| 35 | private int completedBy; |
| 36 | |
| 37 | private Date completedAt; |
| 38 | |
| 39 | private int resourceId; |
| 40 | } |