package cn.updev.Events.Event;

/**
 * Created by hypo on 15-9-28.
 */
public class Event {
}

@@ -29,66 +29,2919 @@
 t;%0A%0A
-/**%0A * Created by hypo on 15-9-28.%0A */%0Apublic class Event %7B
+%0Aimport cn.updev.Events.Static.EventWeight;%0Aimport cn.updev.Events.Static.IEvent;%0A%0Aimport java.sql.Timestamp;%0A%0A/**%0A * Created by hypo on 15-9-28.%0A */%0Apublic class Event implements IEvent%7B%0A%0A    private long eventId;%0A    private String eventTitle;%0A    private Timestamp createTime;%0A    private Timestamp expectTime;%0A    private Timestamp finishTime;%0A    private EventWeight weight;%0A    private int ownerId;%0A    private int doerId;%0A    private int enderId;%0A    private int groupId;%0A%0A    public Event(Timestamp createTime, int doerId, int enderId, long eventId, String eventTitle,%0A                 Timestamp expectTime, Timestamp finishTime, int groupId, int ownerId, EventWeight weight) %7B%0A        this.createTime = createTime;%0A        this.doerId = doerId;%0A        this.enderId = enderId;%0A        this.eventId = eventId;%0A        this.eventTitle = eventTitle;%0A        this.expectTime = expectTime;%0A        this.finishTime = finishTime;%0A        this.groupId = groupId;%0A        this.ownerId = ownerId;%0A        this.weight = weight;%0A    %7D%0A%0A    public Timestamp getCreateTime() %7B%0A        return createTime;%0A    %7D%0A%0A    public void setCreateTime(Timestamp createTime) %7B%0A        this.createTime = createTime;%0A    %7D%0A%0A    public int getDoerId() %7B%0A        return doerId;%0A    %7D%0A%0A    public void setDoerId(int doerId) %7B%0A        this.doerId = doerId;%0A    %7D%0A%0A    public int getEnderId() %7B%0A        return enderId;%0A    %7D%0A%0A    public void setEnderId(int enderId) %7B%0A        this.enderId = enderId;%0A    %7D%0A%0A    public long getEventId() %7B%0A        return eventId;%0A    %7D%0A%0A    public void setEventId(long eventId) %7B%0A        this.eventId = eventId;%0A    %7D%0A%0A    public String getEventTitle() %7B%0A        return eventTitle;%0A    %7D%0A%0A    public void setEventTitle(String eventTitle) %7B%0A        this.eventTitle = eventTitle;%0A    %7D%0A%0A    public Timestamp getExpectTime() %7B%0A        return expectTime;%0A    %7D%0A%0A    public void setExpectTime(Timestamp expectTime) %7B%0A        this.expectTime = expectTime;%0A    %7D%0A%0A    public Timestamp getFinishTime() %7B%0A        return finishTime;%0A    %7D%0A%0A    public void setFinishTime(Timestamp finishTime) %7B%0A        this.finishTime = finishTime;%0A    %7D%0A%0A    public int getGroupId() %7B%0A        return groupId;%0A    %7D%0A%0A    public void setGroupId(int groupId) %7B%0A        this.groupId = groupId;%0A    %7D%0A%0A    public int getOwnerId() %7B%0A        return ownerId;%0A    %7D%0A%0A    public void setOwnerId(int ownerId) %7B%0A        this.ownerId = ownerId;%0A    %7D%0A%0A    public EventWeight getWeight() %7B%0A        return weight;%0A    %7D%0A%0A    public void setWeight(EventWeight weight) %7B%0A        this.weight = weight;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (!(o instanceof Event)) return false;%0A%0A        Event event = (Event) o;%0A%0A        return getEventId() == event.getEventId();%0A%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return (int) (getEventId() %5E (getEventId() %3E%3E%3E 32));%0A    %7D
 %0A%7D%0A

add event class