package com.itbox.grzl.event.bean;
/**
* 发活动
* @author hyh
* creat_at:2013-9-11-上午9:22:21
*/
public class EventAddModel {
public int typeid;
public int activitycategory;
public String title;
public String begintime;
public String endtime;
public int userprovince;
public int usercity;
public int userdistrict;
public String address;
public float longitude;
public float latitude;
public int minnum;
public int maxnum;
public int predictminconsume;
public int predictmaxconsume = -1;
public int paytype;
public String keyword;
public String activitydescription;
public String activitypicture;
public int convertstate = 2;
public int sex;
public int minage;
public int maxage;
public int getTypeid() {
return typeid;
}
public void setTypeid(int typeid) {
this.typeid = typeid;
}
public int getActivitycategory() {
return activitycategory;
}
public boolean isImmediately() {
return 1 == activitycategory;
}
public void setActivitycategory(int activitycategory) {
this.activitycategory = activitycategory;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getBegintime() {
return begintime;
}
public void setBegintime(String begintime) {
this.begintime = begintime;
}
public String getEndtime() {
return endtime;
}
public void setEndtime(String endtime) {
this.endtime = endtime;
}
public int getUserprovince() {
return userprovince;
}
public void setUserprovince(int userprovince) {
this.userprovince = userprovince;
}
public int getUsercity() {
return usercity;
}
public void setUsercity(int usercity) {
this.usercity = usercity;
}
public int getUserdistrict() {
return userdistrict;
}
public void setUserdistrict(int userdistrict) {
this.userdistrict = userdistrict;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public float getLongitude() {
return longitude;
}
public void setLongitude(float longitude) {
this.longitude = longitude;
}
public float getLatitude() {
return latitude;
}
public void setLatitude(float latitude) {
this.latitude = latitude;
}
public int getMinnum() {
return minnum;
}
public void setMinnum(int minnum) {
this.minnum = minnum;
}
public int getMaxnum() {
return maxnum;
}
public void setMaxnum(int maxnum) {
this.maxnum = maxnum;
}
public int getPredictminconsume() {
return predictminconsume;
}
public void setPredictminconsume(int predictminconsume) {
this.predictminconsume = predictminconsume;
}
public int getPredictmaxconsume() {
return predictmaxconsume;
}
public void setPredictmaxconsume(int predictmaxconsume) {
this.predictmaxconsume = predictmaxconsume;
}
public int getPaytype() {
return paytype;
}
public void setPaytype(int paytype) {
this.paytype = paytype;
}
public String getKeyword() {
return keyword;
}
public void setKeyword(String keyword) {
this.keyword = keyword;
}
public String getActivitydescription() {
return activitydescription;
}
public void setActivitydescription(String activitydescription) {
this.activitydescription = activitydescription;
}
public int getConvertstate() {
return convertstate;
}
public void setConvertstate(int convertstate) {
this.convertstate = convertstate;
}
public void setConvertstate(boolean isConvert) {
if(isConvert){
convertstate = 2;// 转换
}else{
convertstate = 1;//不转换
}
}
public int getSex() {
return sex;
}
public void setSex(int sex) {
this.sex = sex;
}
public int getMinage() {
return minage;
}
public void setMinage(int minage) {
this.minage = minage;
}
public int getMaxage() {
return maxage;
}
public void setMaxage(int maxage) {
this.maxage = maxage;
}
}