|
@@ -1,6 +1,7 @@
|
|
|
-package beilv.system.domain;
|
|
|
+package beilv.competition.domain;
|
|
|
|
|
|
import java.util.Date;
|
|
|
+
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
@@ -9,228 +10,227 @@ import beilv.common.core.domain.BaseEntity;
|
|
|
|
|
|
/**
|
|
|
* 赛事发布对象 competition
|
|
|
- *
|
|
|
+ *
|
|
|
* @author LG
|
|
|
* @date 2024-12-31
|
|
|
*/
|
|
|
-public class Competition extends BaseEntity
|
|
|
-{
|
|
|
+public class Competition extends BaseEntity {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
- /** id */
|
|
|
+ /**
|
|
|
+ * id
|
|
|
+ */
|
|
|
private Integer id;
|
|
|
|
|
|
- /** 活动标题 */
|
|
|
+ /**
|
|
|
+ * 活动标题
|
|
|
+ */
|
|
|
@Excel(name = "活动标题")
|
|
|
private String competitionTitle;
|
|
|
|
|
|
- /** 活动类型 */
|
|
|
+ /**
|
|
|
+ * 活动类型
|
|
|
+ */
|
|
|
@Excel(name = "活动类型")
|
|
|
private String competitionType;
|
|
|
|
|
|
- /** 团队最大人数 */
|
|
|
+ /**
|
|
|
+ * 团队最大人数
|
|
|
+ */
|
|
|
@Excel(name = "团队最大人数")
|
|
|
private String personMax;
|
|
|
|
|
|
- /** 最大团队数 */
|
|
|
+ /**
|
|
|
+ * 最大团队数
|
|
|
+ */
|
|
|
@Excel(name = "最大团队数")
|
|
|
private String teamMax;
|
|
|
|
|
|
- /** 场地 */
|
|
|
+ /**
|
|
|
+ * 场地
|
|
|
+ */
|
|
|
@Excel(name = "场地")
|
|
|
private String competitionPlace;
|
|
|
|
|
|
- /** 报名开始时间 */
|
|
|
+ /**
|
|
|
+ * 报名开始时间
|
|
|
+ */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
@Excel(name = "报名开始时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
private Date applyStartTime;
|
|
|
|
|
|
- /** 报名结束时间 */
|
|
|
+ /**
|
|
|
+ * 报名结束时间
|
|
|
+ */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
@Excel(name = "报名结束时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
private Date applyEndTime;
|
|
|
|
|
|
- /** 取消报名截至时间(活动开始前N小时可退款) */
|
|
|
+ /**
|
|
|
+ * 取消报名截至时间(活动开始前N小时可退款)
|
|
|
+ */
|
|
|
@Excel(name = "取消报名截至时间(活动开始前N小时可退款)")
|
|
|
private String applyBeforeTime;
|
|
|
|
|
|
- /** 活动上限人数 */
|
|
|
+ /**
|
|
|
+ * 活动上限人数
|
|
|
+ */
|
|
|
@Excel(name = "活动上限人数")
|
|
|
private String competitionMaximum;
|
|
|
|
|
|
- /** 活动费用(每人) */
|
|
|
+ /**
|
|
|
+ * 活动费用(每人)
|
|
|
+ */
|
|
|
@Excel(name = "活动费用(每人)")
|
|
|
private Long competitionExpense;
|
|
|
|
|
|
- /** 活动详情 */
|
|
|
+ /**
|
|
|
+ * 活动详情
|
|
|
+ */
|
|
|
@Excel(name = "活动详情")
|
|
|
private String competitionDetails;
|
|
|
|
|
|
- /** 报名须知 */
|
|
|
+ /**
|
|
|
+ * 报名须知
|
|
|
+ */
|
|
|
@Excel(name = "报名须知")
|
|
|
private String registrationNotes;
|
|
|
|
|
|
- /** 活动状态 */
|
|
|
+ /**
|
|
|
+ * 活动状态
|
|
|
+ */
|
|
|
@Excel(name = "活动状态")
|
|
|
private String competitionState;
|
|
|
|
|
|
- public void setId(Integer id)
|
|
|
- {
|
|
|
+ public void setId(Integer id) {
|
|
|
this.id = id;
|
|
|
}
|
|
|
|
|
|
- public Integer getId()
|
|
|
- {
|
|
|
+ public Integer getId() {
|
|
|
return id;
|
|
|
}
|
|
|
|
|
|
- public void setCompetitionTitle(String competitionTitle)
|
|
|
- {
|
|
|
+ public void setCompetitionTitle(String competitionTitle) {
|
|
|
this.competitionTitle = competitionTitle;
|
|
|
}
|
|
|
|
|
|
- public String getCompetitionTitle()
|
|
|
- {
|
|
|
+ public String getCompetitionTitle() {
|
|
|
return competitionTitle;
|
|
|
}
|
|
|
|
|
|
- public void setCompetitionType(String competitionType)
|
|
|
- {
|
|
|
+ public void setCompetitionType(String competitionType) {
|
|
|
this.competitionType = competitionType;
|
|
|
}
|
|
|
|
|
|
- public String getCompetitionType()
|
|
|
- {
|
|
|
+ public String getCompetitionType() {
|
|
|
return competitionType;
|
|
|
}
|
|
|
|
|
|
- public void setPersonMax(String personMax)
|
|
|
- {
|
|
|
+ public void setPersonMax(String personMax) {
|
|
|
this.personMax = personMax;
|
|
|
}
|
|
|
|
|
|
- public String getPersonMax()
|
|
|
- {
|
|
|
+ public String getPersonMax() {
|
|
|
return personMax;
|
|
|
}
|
|
|
|
|
|
- public void setTeamMax(String teamMax)
|
|
|
- {
|
|
|
+ public void setTeamMax(String teamMax) {
|
|
|
this.teamMax = teamMax;
|
|
|
}
|
|
|
|
|
|
- public String getTeamMax()
|
|
|
- {
|
|
|
+ public String getTeamMax() {
|
|
|
return teamMax;
|
|
|
}
|
|
|
|
|
|
- public void setCompetitionPlace(String competitionPlace)
|
|
|
- {
|
|
|
+ public void setCompetitionPlace(String competitionPlace) {
|
|
|
this.competitionPlace = competitionPlace;
|
|
|
}
|
|
|
|
|
|
- public String getCompetitionPlace()
|
|
|
- {
|
|
|
+ public String getCompetitionPlace() {
|
|
|
return competitionPlace;
|
|
|
}
|
|
|
|
|
|
- public void setApplyStartTime(Date applyStartTime)
|
|
|
- {
|
|
|
+ public void setApplyStartTime(Date applyStartTime) {
|
|
|
this.applyStartTime = applyStartTime;
|
|
|
}
|
|
|
|
|
|
- public Date getApplyStartTime()
|
|
|
- {
|
|
|
+ public Date getApplyStartTime() {
|
|
|
return applyStartTime;
|
|
|
}
|
|
|
|
|
|
- public void setApplyEndTime(Date applyEndTime)
|
|
|
- {
|
|
|
+ public void setApplyEndTime(Date applyEndTime) {
|
|
|
this.applyEndTime = applyEndTime;
|
|
|
}
|
|
|
|
|
|
- public Date getApplyEndTime()
|
|
|
- {
|
|
|
+ public Date getApplyEndTime() {
|
|
|
return applyEndTime;
|
|
|
}
|
|
|
|
|
|
- public void setApplyBeforeTime(String applyBeforeTime)
|
|
|
- {
|
|
|
+ public void setApplyBeforeTime(String applyBeforeTime) {
|
|
|
this.applyBeforeTime = applyBeforeTime;
|
|
|
}
|
|
|
|
|
|
- public String getApplyBeforeTime()
|
|
|
- {
|
|
|
+ public String getApplyBeforeTime() {
|
|
|
return applyBeforeTime;
|
|
|
}
|
|
|
|
|
|
- public void setCompetitionMaximum(String competitionMaximum)
|
|
|
- {
|
|
|
+ public void setCompetitionMaximum(String competitionMaximum) {
|
|
|
this.competitionMaximum = competitionMaximum;
|
|
|
}
|
|
|
|
|
|
- public String getCompetitionMaximum()
|
|
|
- {
|
|
|
+ public String getCompetitionMaximum() {
|
|
|
return competitionMaximum;
|
|
|
}
|
|
|
|
|
|
- public void setCompetitionExpense(Long competitionExpense)
|
|
|
- {
|
|
|
+ public void setCompetitionExpense(Long competitionExpense) {
|
|
|
this.competitionExpense = competitionExpense;
|
|
|
}
|
|
|
|
|
|
- public Long getCompetitionExpense()
|
|
|
- {
|
|
|
+ public Long getCompetitionExpense() {
|
|
|
return competitionExpense;
|
|
|
}
|
|
|
|
|
|
- public void setCompetitionDetails(String competitionDetails)
|
|
|
- {
|
|
|
+ public void setCompetitionDetails(String competitionDetails) {
|
|
|
this.competitionDetails = competitionDetails;
|
|
|
}
|
|
|
|
|
|
- public String getCompetitionDetails()
|
|
|
- {
|
|
|
+ public String getCompetitionDetails() {
|
|
|
return competitionDetails;
|
|
|
}
|
|
|
|
|
|
- public void setRegistrationNotes(String registrationNotes)
|
|
|
- {
|
|
|
+ public void setRegistrationNotes(String registrationNotes) {
|
|
|
this.registrationNotes = registrationNotes;
|
|
|
}
|
|
|
|
|
|
- public String getRegistrationNotes()
|
|
|
- {
|
|
|
+ public String getRegistrationNotes() {
|
|
|
return registrationNotes;
|
|
|
}
|
|
|
|
|
|
- public void setCompetitionState(String competitionState)
|
|
|
- {
|
|
|
+ public void setCompetitionState(String competitionState) {
|
|
|
this.competitionState = competitionState;
|
|
|
}
|
|
|
|
|
|
- public String getCompetitionState()
|
|
|
- {
|
|
|
+ public String getCompetitionState() {
|
|
|
return competitionState;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
- .append("id", getId())
|
|
|
- .append("competitionTitle", getCompetitionTitle())
|
|
|
- .append("competitionType", getCompetitionType())
|
|
|
- .append("personMax", getPersonMax())
|
|
|
- .append("teamMax", getTeamMax())
|
|
|
- .append("competitionPlace", getCompetitionPlace())
|
|
|
- .append("applyStartTime", getApplyStartTime())
|
|
|
- .append("applyEndTime", getApplyEndTime())
|
|
|
- .append("applyBeforeTime", getApplyBeforeTime())
|
|
|
- .append("competitionMaximum", getCompetitionMaximum())
|
|
|
- .append("competitionExpense", getCompetitionExpense())
|
|
|
- .append("competitionDetails", getCompetitionDetails())
|
|
|
- .append("registrationNotes", getRegistrationNotes())
|
|
|
- .append("competitionState", getCompetitionState())
|
|
|
- .toString();
|
|
|
+ return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
|
+ .append("id", getId())
|
|
|
+ .append("competitionTitle", getCompetitionTitle())
|
|
|
+ .append("competitionType", getCompetitionType())
|
|
|
+ .append("personMax", getPersonMax())
|
|
|
+ .append("teamMax", getTeamMax())
|
|
|
+ .append("competitionPlace", getCompetitionPlace())
|
|
|
+ .append("applyStartTime", getApplyStartTime())
|
|
|
+ .append("applyEndTime", getApplyEndTime())
|
|
|
+ .append("applyBeforeTime", getApplyBeforeTime())
|
|
|
+ .append("competitionMaximum", getCompetitionMaximum())
|
|
|
+ .append("competitionExpense", getCompetitionExpense())
|
|
|
+ .append("competitionDetails", getCompetitionDetails())
|
|
|
+ .append("registrationNotes", getRegistrationNotes())
|
|
|
+ .append("competitionState", getCompetitionState())
|
|
|
+ .toString();
|
|
|
}
|
|
|
}
|