Complete the corrections of the errors in the last submission.Create the backend code structure
Please enter the commit message for your changes. Lines starting
Change-Id: I3f0c3764560b14466236e66627f34d8b71b05cd8
diff --git a/src/main/java/com/g9/g9backend/pojo/Reward.java b/src/main/java/com/g9/g9backend/pojo/Reward.java
new file mode 100644
index 0000000..91e376d
--- /dev/null
+++ b/src/main/java/com/g9/g9backend/pojo/Reward.java
@@ -0,0 +1,40 @@
+package com.g9.g9backend.pojo;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import lombok.*;
+
+import java.util.Date;
+
+/**
+ * Reward 实体类,表示悬赏的数据模型
+ *
+ * @author hcy
+ */
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class Reward {
+
+ @TableId
+ private int rewardId;
+
+ private String rewardName;
+
+ private String rewardPicture;
+
+ private int userId;
+
+ private float price;
+
+ private String rewardDescription;
+
+ private Date createAt;
+
+ private Date lastUpdateAt;
+
+ private int completedBy;
+
+ private Date completedAt;
+
+ private int resourceId;
+}
\ No newline at end of file