合并赵再春前的提交
This commit is contained in:
parent
dd0e5ca252
commit
4f844a90d8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,78 @@
|
|||
package com.stone.shop.model;
|
||||
|
||||
import cn.bmob.v3.BmobObject;
|
||||
|
||||
/**
|
||||
* 博学堂讲座实体类
|
||||
* @date 2014-5-10
|
||||
* @author Stone
|
||||
*/
|
||||
public class BXTNews extends BmobObject{
|
||||
|
||||
//private String id;
|
||||
|
||||
private String title; //标题
|
||||
private String topic; //讲座主题
|
||||
private String speaker; //主 讲 人
|
||||
private String time; //讲座时间
|
||||
private String location; //讲座地点
|
||||
private String holder1; //主办单位
|
||||
private String holder2; //承办单位
|
||||
private String points; //主讲内容提要
|
||||
private String speakerinfo; //主讲人简介
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
public String getTopic() {
|
||||
return topic;
|
||||
}
|
||||
public String getSpeaker() {
|
||||
return speaker;
|
||||
}
|
||||
public String getTime() {
|
||||
return time;
|
||||
}
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
public String getHolder1() {
|
||||
return holder1;
|
||||
}
|
||||
public String getHolder2() {
|
||||
return holder2;
|
||||
}
|
||||
public String getPoints() {
|
||||
return points;
|
||||
}
|
||||
public String getSpeakerinfo() {
|
||||
return speakerinfo;
|
||||
}
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
public void setTopic(String topic) {
|
||||
this.topic = topic;
|
||||
}
|
||||
public void setSpeaker(String speaker) {
|
||||
this.speaker = speaker;
|
||||
}
|
||||
public void setTime(String time) {
|
||||
this.time = time;
|
||||
}
|
||||
public void setLocation(String location) {
|
||||
this.location = location;
|
||||
}
|
||||
public void setHolder1(String holder1) {
|
||||
this.holder1 = holder1;
|
||||
}
|
||||
public void setHolder2(String holder2) {
|
||||
this.holder2 = holder2;
|
||||
}
|
||||
public void setPoints(String points) {
|
||||
this.points = points;
|
||||
}
|
||||
public void setSpeakerinfo(String speakerinfo) {
|
||||
this.speakerinfo = speakerinfo;
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,63 @@
|
|||
package com.stone.shop.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import cn.bmob.v3.BmobObject;
|
||||
import cn.bmob.v3.datatype.BmobFile;
|
||||
|
||||
/**
|
||||
* 商品实体类
|
||||
* @date 2014-4-24
|
||||
* @author Stone
|
||||
*/
|
||||
public class Good extends BmobObject implements Serializable{
|
||||
|
||||
private static final long serialVersionUID = -3248168273019127389L;
|
||||
|
||||
//private String id; 商品ID, 默认
|
||||
|
||||
private String shopID = ""; // 商店ID
|
||||
private String shopName = ""; //商店名称
|
||||
private String type = ""; // 类型
|
||||
private String name = ""; // 名称
|
||||
private String price = ""; // 价格
|
||||
private BmobFile picGood = null; // 商品主图
|
||||
|
||||
public Good(String name, String price) {
|
||||
this.name = name;
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public String getShopID() {
|
||||
return shopID;
|
||||
}
|
||||
|
||||
public void setShopID(String shopID) {
|
||||
this.shopID = shopID;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(String price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,53 @@
|
|||
package com.stone.shop.model;
|
||||
|
||||
import cn.bmob.v3.BmobObject;
|
||||
|
||||
/**
|
||||
* 首页校内新闻实体类
|
||||
*
|
||||
* @date 2014-5-3
|
||||
* @author Stone
|
||||
*/
|
||||
public class News extends BmobObject {
|
||||
|
||||
// private String id;
|
||||
// private String time;
|
||||
|
||||
private String type; // 新闻类型
|
||||
private String title; // 新闻标题
|
||||
private String author; // 新闻作者
|
||||
private String content; // 新闻内容
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
public void setAuthor(String author) {
|
||||
this.author = author;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,61 @@
|
|||
package com.stone.shop.model;
|
||||
|
||||
import cn.bmob.v3.BmobObject;
|
||||
|
||||
/**
|
||||
* 店铺评论实体类
|
||||
* @date 2014-5-3
|
||||
* @author Stone
|
||||
*/
|
||||
public class SComment extends BmobObject {
|
||||
|
||||
// private String id;
|
||||
// private String time;
|
||||
|
||||
private String shopID;
|
||||
private String shopName;
|
||||
private String userID;
|
||||
private String userName;
|
||||
private String content;
|
||||
|
||||
public String getShopID() {
|
||||
return shopID;
|
||||
}
|
||||
|
||||
public void setShopID(String shopID) {
|
||||
this.shopID = shopID;
|
||||
}
|
||||
|
||||
public String getShopName() {
|
||||
return shopName;
|
||||
}
|
||||
|
||||
public void setShopName(String shopName) {
|
||||
this.shopName = shopName;
|
||||
}
|
||||
|
||||
public String getUserID() {
|
||||
return userID;
|
||||
}
|
||||
|
||||
public void setUserID(String userID) {
|
||||
this.userID = userID;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,82 @@
|
|||
package com.stone.shop.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import cn.bmob.v3.BmobObject;
|
||||
import cn.bmob.v3.datatype.BmobFile;
|
||||
|
||||
/**
|
||||
* 店铺实体类, 实现序列化, Activity之间实现传递
|
||||
* @date 2014-4-24
|
||||
* @author Stone
|
||||
*/
|
||||
public class Shop extends BmobObject implements Serializable{
|
||||
|
||||
private static final long serialVersionUID = -8796635595320697255L;
|
||||
|
||||
private String userID; // 主人
|
||||
private String type; // 类型(11代表第一个GridView中的第一个)
|
||||
private String name; // 店名
|
||||
private String location; // 地理位置
|
||||
private String phone; // 联系电话
|
||||
private String info; // 简介
|
||||
private String sale; // 促销信息
|
||||
private BmobFile picShop; // 商店主图
|
||||
|
||||
public String getUserID() {
|
||||
return userID;
|
||||
}
|
||||
|
||||
public void setUserID(String userID) {
|
||||
this.userID = userID;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(String location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getInfo() {
|
||||
return info;
|
||||
}
|
||||
|
||||
public void setInfo(String info) {
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
public String getSale() {
|
||||
return sale;
|
||||
}
|
||||
|
||||
public void setSale(String sale) {
|
||||
this.sale = sale;
|
||||
}
|
||||
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,106 @@
|
|||
package com.stone.shop.model;
|
||||
|
||||
import cn.bmob.v3.BmobUser;
|
||||
import cn.bmob.v3.datatype.BmobFile;
|
||||
import cn.bmob.v3.datatype.BmobRelation;
|
||||
|
||||
/**
|
||||
* 用户实体类
|
||||
* @date 2014-4-24
|
||||
* @author Stone
|
||||
*/
|
||||
public class User extends BmobUser {
|
||||
|
||||
public static String userId;
|
||||
|
||||
// 父类中已经存在的属性
|
||||
// private String id;
|
||||
// private String username;
|
||||
// private String password;
|
||||
// private String email;
|
||||
// private String regTime;
|
||||
|
||||
private String sex; // 性别
|
||||
private String phone; // 电话
|
||||
private String qq; // QQ
|
||||
private String school = "湖北工业大学"; // 学校
|
||||
private String cademy; // 学院
|
||||
private String dorPart; // 校区
|
||||
private String dorNum; // 寝室号
|
||||
private String state = "未登陆"; // 登录状态
|
||||
private String type = "普通用户"; // 用户类型(普通用户、黑名单、中奖者)
|
||||
//private BmobFile picUser; // 头像
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getSex() {
|
||||
return sex;
|
||||
}
|
||||
|
||||
public void setSex(String sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getQQ() {
|
||||
return qq;
|
||||
}
|
||||
|
||||
public void setQQ(String qq) {
|
||||
this.qq = qq;
|
||||
}
|
||||
|
||||
public String getSchool() {
|
||||
return school;
|
||||
}
|
||||
|
||||
public void setSchool(String school) {
|
||||
this.school = school;
|
||||
}
|
||||
|
||||
public String getCademy() {
|
||||
return cademy;
|
||||
}
|
||||
|
||||
public void setCademy(String cademy) {
|
||||
this.cademy = cademy;
|
||||
}
|
||||
|
||||
public String getDorPart() {
|
||||
return dorPart;
|
||||
}
|
||||
|
||||
public void setDorPart(String dorPart) {
|
||||
this.dorPart = dorPart;
|
||||
}
|
||||
|
||||
public String getDorNum() {
|
||||
return dorNum;
|
||||
}
|
||||
|
||||
public void setDorNum(String dorNum) {
|
||||
this.dorNum = dorNum;
|
||||
}
|
||||
|
||||
public String getState() {
|
||||
return state;
|
||||
}
|
||||
|
||||
public void setState(String state) {
|
||||
this.state = state;
|
||||
}
|
||||
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue