blob: aea9c84dce3b2e019ad43e4bfb514550ed7e1aed [file] [log] [blame]
xiukira687b9cb2025-05-29 15:15:02 +08001package com.g9.g9backend.pojo;
2
xiukirad0a7a082025-06-05 16:28:08 +08003import com.baomidou.mybatisplus.annotation.IdType;
xiukira687b9cb2025-05-29 15:15:02 +08004import com.baomidou.mybatisplus.annotation.TableId;
5import lombok.*;
6
7import java.util.Date;
8
9/**
10 * Reward 实体类,表示悬赏的数据模型
11 *
12 * @author hcy
13 */
14@Data
15@AllArgsConstructor
16@NoArgsConstructor
17public class Reward {
18
xiukirad0a7a082025-06-05 16:28:08 +080019 @TableId(type = IdType.AUTO)
xiukira687b9cb2025-05-29 15:15:02 +080020 private int rewardId;
21
22 private String rewardName;
23
24 private String rewardPicture;
25
26 private int userId;
27
xiukiraac78f3d2025-06-08 23:38:10 +080028 private int price;
xiukira687b9cb2025-05-29 15:15:02 +080029
30 private String rewardDescription;
31
32 private Date createAt;
33
34 private Date lastUpdateAt;
35
36 private int completedBy;
37
38 private Date completedAt;
39
40 private int resourceId;
41}