package xyz.acmer.service.contest;

/**
 * Created by hypo on 16-2-11.
 */
public class ContestAnnouncement {
}

@@ -29,16 +29,40 @@
 ntest;%0A%0A
+import java.util.Date;%0A%0A
 /**%0A * C
@@ -126,11 +126,1321 @@
 cement %7B
+%0A%0A    private Long announcementId;%0A    private Integer contestId;%0A    private String title;%0A    private String context;%0A    private String autherName;%0A    private Date submitTime;%0A%0A    public ContestAnnouncement(Integer contestId, String title, String context, String autherName) %7B%0A        this.contestId = contestId;%0A        this.title = title;%0A        this.context = context;%0A        this.autherName = autherName;%0A%0A        this.submitTime = new Date();%0A    %7D%0A%0A    public Long getAnnouncementId() %7B%0A        return announcementId;%0A    %7D%0A%0A    public Integer getContestId() %7B%0A        return contestId;%0A    %7D%0A%0A    public void setContestId(Integer contestId) %7B%0A        this.contestId = contestId;%0A    %7D%0A%0A    public String getTitle() %7B%0A        return title;%0A    %7D%0A%0A    public void setTitle(String title) %7B%0A        this.title = title;%0A    %7D%0A%0A    public String getContext() %7B%0A        return context;%0A    %7D%0A%0A    public void setContext(String context) %7B%0A        this.context = context;%0A    %7D%0A%0A    public String getAutherName() %7B%0A        return autherName;%0A    %7D%0A%0A    public void setAutherName(String autherName) %7B%0A        this.autherName = autherName;%0A    %7D%0A%0A    public Date getSubmitTime() %7B%0A        return submitTime;%0A    %7D%0A%0A    public void setSubmitTime(Date submitTime) %7B%0A        this.submitTime = submitTime;%0A    %7D
 %0A%7D%0A

add /ContestAnnouncement