parent
b54fcbb6f3
commit
e6de012598
@ -0,0 +1,159 @@ |
||||
package com.share.help.entity.custorm; |
||||
|
||||
import java.sql.Timestamp; |
||||
|
||||
/** |
||||
* 我的帮助列表 |
||||
*/ |
||||
public class HelpRes { |
||||
// 活动id
|
||||
private Long activityId; |
||||
// 历史id
|
||||
private Long historyId; |
||||
// 活动背景图
|
||||
private String activityImg; |
||||
// 活动标题
|
||||
private String title; |
||||
// 活动内容
|
||||
private String content; |
||||
// 求助时间
|
||||
private Timestamp seekHelpTime; |
||||
// 活动开始时间
|
||||
private Timestamp activityStartTime; |
||||
// 活动结束时间
|
||||
private Timestamp activityEndTime; |
||||
// 状态
|
||||
private String status; |
||||
// 报名时间
|
||||
private Timestamp applyTime; |
||||
// 参与时间
|
||||
private Timestamp joinTime; |
||||
// 完成时间
|
||||
private Timestamp completeTime; |
||||
// 评分
|
||||
private Integer activityScore; |
||||
//活动开始状态
|
||||
private Boolean hasStart; |
||||
//活动结束状态
|
||||
private Boolean hasEnd; |
||||
|
||||
public Boolean getHasEnd() { |
||||
return hasEnd; |
||||
} |
||||
|
||||
public void setHasEnd(Boolean hasEnd) { |
||||
this.hasEnd = hasEnd; |
||||
} |
||||
|
||||
public Long getHistoryId() { |
||||
return historyId; |
||||
} |
||||
|
||||
public void setHistoryId(Long historyId) { |
||||
this.historyId = historyId; |
||||
} |
||||
|
||||
public Boolean getHasStart() { |
||||
return hasStart; |
||||
} |
||||
|
||||
public void setHasStart(Boolean hasStart) { |
||||
this.hasStart = hasStart; |
||||
} |
||||
|
||||
public Long getActivityId() { |
||||
return activityId; |
||||
} |
||||
|
||||
public void setActivityId(Long activityId) { |
||||
this.activityId = activityId; |
||||
} |
||||
|
||||
public String getActivityImg() { |
||||
return activityImg; |
||||
} |
||||
|
||||
public void setActivityImg(String activityImg) { |
||||
this.activityImg = activityImg; |
||||
} |
||||
|
||||
public String getTitle() { |
||||
return title; |
||||
} |
||||
|
||||
public void setTitle(String title) { |
||||
this.title = title; |
||||
} |
||||
|
||||
public String getContent() { |
||||
return content; |
||||
} |
||||
|
||||
public void setContent(String content) { |
||||
this.content = content; |
||||
} |
||||
|
||||
public Timestamp getSeekHelpTime() { |
||||
return seekHelpTime; |
||||
} |
||||
|
||||
public void setSeekHelpTime(Timestamp seekHelpTime) { |
||||
this.seekHelpTime = seekHelpTime; |
||||
} |
||||
|
||||
public Timestamp getActivityStartTime() { |
||||
return activityStartTime; |
||||
} |
||||
|
||||
public void setActivityStartTime(Timestamp activityStartTime) { |
||||
this.activityStartTime = activityStartTime; |
||||
} |
||||
|
||||
public Timestamp getActivityEndTime() { |
||||
return activityEndTime; |
||||
} |
||||
|
||||
public void setActivityEndTime(Timestamp activityEndTime) { |
||||
this.activityEndTime = activityEndTime; |
||||
} |
||||
|
||||
public String getStatus() { |
||||
return status; |
||||
} |
||||
|
||||
public void setStatus(String status) { |
||||
this.status = status; |
||||
} |
||||
|
||||
public Timestamp getApplyTime() { |
||||
return applyTime; |
||||
} |
||||
|
||||
public void setApplyTime(Timestamp applyTime) { |
||||
this.applyTime = applyTime; |
||||
} |
||||
|
||||
public Timestamp getJoinTime() { |
||||
return joinTime; |
||||
} |
||||
|
||||
public void setJoinTime(Timestamp joinTime) { |
||||
this.joinTime = joinTime; |
||||
} |
||||
|
||||
public Timestamp getCompleteTime() { |
||||
return completeTime; |
||||
} |
||||
|
||||
public void setCompleteTime(Timestamp completeTime) { |
||||
this.completeTime = completeTime; |
||||
} |
||||
|
||||
public Integer getActivityScore() { |
||||
return activityScore; |
||||
} |
||||
|
||||
public void setActivityScore(Integer activityScore) { |
||||
this.activityScore = activityScore; |
||||
} |
||||
} |
@ -0,0 +1,27 @@ |
||||
package com.share.help.form; |
||||
|
||||
/** |
||||
* 活动评价表单 |
||||
*/ |
||||
public class HelpScoreForm { |
||||
//历史id
|
||||
private Long historyId; |
||||
//分数
|
||||
private Integer score; |
||||
|
||||
public Long getHistoryId() { |
||||
return historyId; |
||||
} |
||||
|
||||
public void setHistoryId(Long historyId) { |
||||
this.historyId = historyId; |
||||
} |
||||
|
||||
public Integer getScore() { |
||||
return score; |
||||
} |
||||
|
||||
public void setScore(Integer score) { |
||||
this.score = score; |
||||
} |
||||
} |
@ -0,0 +1,26 @@ |
||||
package com.share.help.form; |
||||
|
||||
/** |
||||
* 我的帮助信息搜索条件 |
||||
*/ |
||||
public class QueryHelpForm { |
||||
private Integer currentPage; |
||||
|
||||
private String userId; |
||||
|
||||
public Integer getCurrentPage() { |
||||
return currentPage; |
||||
} |
||||
|
||||
public void setCurrentPage(Integer currentPage) { |
||||
this.currentPage = currentPage; |
||||
} |
||||
|
||||
public String getUserId() { |
||||
return userId; |
||||
} |
||||
|
||||
public void setUserId(String userId) { |
||||
this.userId = userId; |
||||
} |
||||
} |
@ -1,2 +1,3 @@ |
||||
delete from activity; |
||||
delete from user; |
||||
delete from activity_history; |
||||
delete from leave_word; |
||||
delete from activity; |
Loading…
Reference in new issue