⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 information.java

📁 这个是完整的wap项目的源码 开发语言 Java 系统架构 Struts + hibernate + spring 数据库 Mysql5.0 应用服务器Tomcat5.0 开发工具 MyEc
💻 JAVA
字号:
package com.longtime.wap.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * 数据库信息表元素描述
 * 
 * @author bulc
 * @date Nov 1, 2007
 */

public class Information implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	private long informationId;
	private Business business;
	private String title;
	private Date pubDate;
	private int isPub;
	private int isHot;
	private int isRecommend;
	private double price;
	private String content;
	private String filePath;
	private Date regDate;
	private long payCount;
	private Set userInfos = new HashSet();

	/**
	 * 获取用户信息对象
	 * 
	 * @return 用户信息对象
	 */
	public Set getUserInfos() {
		return userInfos;
	}

	/**设置用户信息对象
	 * 
	 * @param userInfos
	 *            用户信息对象
	 */
	public void setUserInfos(Set userInfos) {
		this.userInfos = userInfos;
	}

	/**
	 * 构造函数
	 *
	 */
	public Information() {
	}

	/**
	 * 获取信息编号
	 * 
	 * @return 信息编号
	 */
	public long getInformationId() {
		return this.informationId;
	}

	/**
	 * 设置信息编号
	 * 
	 * @param informationId
	 * 				信息编号
	 */
	public void setInformationId(long informationId) {
		this.informationId = informationId;
	}

	/**
	 * 获取业务名称
	 * 
	 * @return 业务名称
	 */
	public Business getBusiness() {
		return this.business;
	}

	/**
	 * 设置业务名称
	 * 
	 * @param business
	 * 				业务名称
	 */
	public void setBusiness(Business business) {
		this.business = business;
	}

	/**
	 * 获取信息标题
	 * 
	 * @return 信息标题
	 */
	public String getTitle() {
		return this.title;
	}

	/**
	 * 设置信息标题
	 * 
	 * @param title
	 * 			信息标题
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * 获取信息发布日期
	 * 
	 * @return 信息发布日期
	 */
	public Date getPubDate() {
		return this.pubDate;
	}

	/**
	 * 设置信息发布日期
	 * 
	 * @param pubDate
	 * 				信息发布日期
	 */
	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}

	/**
	 * 获取信息是否发布
	 * 
	 * @return 信息是否发布
	 */
	public int getIsPub() {
		return this.isPub;
	}

	/**
	 * 设置信息是否发布
	 * 
	 * @param isPub
	 * 			是否发布
	 */
	public void setIsPub(int isPub) {
		this.isPub = isPub;
	}

	/**
	 * 获取信息是否热点
	 * 
	 * @return	信息是否热点
	 */
	public int getIsHot() {
		return this.isHot;
	}

	/**
	 * 设置信息是否热点
	 * 
	 * @param isHot
	 * 			是否热点
	 */
	public void setIsHot(int isHot) {
		this.isHot = isHot;
	}

	/**
	 * 获取信息是否被推荐
	 * 
	 * @return 信息是否被推荐
	 */
	public int getIsRecommend() {
		return this.isRecommend;
	}

	/**
	 * 设置信息是否被推荐
	 * 
	 * @param isRecommend
	 * 				是否推荐
	 */
	public void setIsRecommend(int isRecommend) {
		this.isRecommend = isRecommend;
	}

	/**
	 * 获取信息价格
	 * 
	 * @return	信息价格
	 */
	public double getPrice() {
		return this.price;
	}

	/**
	 * 设置信息价格
	 * 
	 * @param price
	 * 			信息价格
	 */
	public void setPrice(double price) {
		this.price = price;
	}

	/**
	 * 获取信息详细内容
	 * 
	 * @return 信息详细内容
	 */
	public String getContent() {
		return this.content;
	}

	/**
	 * 设置信息详细内容
	 * 
	 * @param content
	 * 			信息详细内容
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * 获取信息中文件上传路径
	 * 
	 * @return 文件上传路径
	 */
	public String getFilePath() {
		return this.filePath;
	}

	/**
	 * 设置信息中文件上传路径
	 * 
	 * @param filePath
	 * 			文件上传路径
	 */
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	/**
	 * 获取信息的购买量
	 * 
	 * @return 信息购买量
	 */
	public long getPayCount() {
		return this.payCount;
	}

	/**
	 * 设置信息的购买量
	 * 
	 * @param payCount
	 * 				信息购买量
	 */
	public void setPayCount(long payCount) {
		this.payCount = payCount;
	}

	/**
	 * 获取信息购买时间
	 * 
	 * @return 信息购买时间
	 */
	public Date getRegDate() {
		return regDate;
	}

	/**
	 * 设置信息购买时间
	 * 
	 * @param regDate
	 *            信息购买时间
	 */
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -