Browse Source

donate-service,活动与项目关联实体

shicr 8 years ago
parent
commit
b478b06094

+ 55 - 0
donate-service/src/main/java/com/uas/service/donate/model/ProjectQualification.java

@@ -0,0 +1,55 @@
+package com.uas.service.donate.model;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name="donate$projectqualification")
+public class ProjectQualification {
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @GeneratedValue(strategy= GenerationType.IDENTITY)
+    @Column(name="actqua_id")
+    private  Long id;
+
+    @Column(name = "actqua_act_id")
+    private Long activityId;
+
+    @Column(name = "actqua_pro_id")
+    private Long proId;
+
+    @Column(name = "actqua_pro_name")
+    private String name;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public Long getActivityId() {
+        return activityId;
+    }
+
+    public void setActivityId(Long activityId) {
+        this.activityId = activityId;
+    }
+
+    public Long getProId() {
+        return proId;
+    }
+
+    public void setProId(Long proId) {
+        this.proId = proId;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+}