| package com.g9.g9backend.pojo; |
| |
| import com.baomidou.mybatisplus.annotation.IdType; |
| import com.baomidou.mybatisplus.annotation.TableId; |
| import lombok.*; |
| |
| import java.util.Date; |
| |
| /** |
| * Reward 实体类,表示悬赏的数据模型 |
| * |
| * @author hcy |
| */ |
| @Data |
| @AllArgsConstructor |
| @NoArgsConstructor |
| public class Reward { |
| |
| @TableId(type = IdType.AUTO) |
| private int rewardId; |
| |
| private String rewardName; |
| |
| private String rewardPicture; |
| |
| private int userId; |
| |
| private int price; |
| |
| private String rewardDescription; |
| |
| private Date createAt; |
| |
| private Date lastUpdateAt; |
| |
| private int completedBy; |
| |
| private Date completedAt; |
| |
| private int resourceId; |
| } |