/* * Copyright (c) 2015, 张涛. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.kymjs.blog.domain; import java.io.Serializable; import com.thoughtworks.xstream.annotations.XStreamAlias; /** * 活动实体类 * * @author FireAnt(http://my.oschina.net/LittleDY) * @version 创建时间:2014年12月12日 下午3:18:08 * */ @SuppressWarnings("serial") @XStreamAlias("event") public class Active implements Serializable { public final static int EVNET_STATUS_APPLYING = 0x02; public final static int EVNET_STATUS_END = 0x01; @XStreamAlias("id") private int id; @XStreamAlias("cover") private String cover; @XStreamAlias("title") private String title; @XStreamAlias("url") private String url; @XStreamAlias("createTime") private String createTime; @XStreamAlias("startTime") private String startTime; @XStreamAlias("endTime") private String endTime; @XStreamAlias("spot") private String spot; @XStreamAlias("city") private String city; @XStreamAlias("status") private int status; @XStreamAlias("applyStatus") private int applyStatus; public String getCity() { return city; } public void setCity(String city) { this.city = city; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getCover() { return cover; } public void setCover(String cover) { this.cover = cover; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getCreateTime() { return createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } public String getStartTime() { return startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } public String getEndTime() { return endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public String getSpot() { return spot; } public void setSpot(String spot) { this.spot = spot; } public int getStatus() { return status; } public void setStatus(int status) { this.status = status; } public int getApplyStatus() { return applyStatus; } public void setApplyStatus(int applyStatus) { this.applyStatus = applyStatus; } }