package com.entity;

import com.util.VeDate;

public class Article {
	private String articleid = "A" + VeDate.getStringId();// 生成主键编号
	private String title;// 标题
	private String bannerid;// 分类
	private String image;// 图片
	private String istop;// 是否置顶
	private String isflv;// 是否轮播
	private String contents;// 内容
	private String addtime;// 发布日期
	private String hits;// 点击数
	private String bannername;// 映射数据

	public String getArticleid() {
		return articleid;
	}

	public void setArticleid(String articleid) {
		this.articleid = articleid;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getBannerid() {
		return this.bannerid;
	}

	public void setBannerid(String bannerid) {
		this.bannerid = bannerid;
	}

	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getIstop() {
		return this.istop;
	}

	public void setIstop(String istop) {
		this.istop = istop;
	}

	public String getIsflv() {
		return this.isflv;
	}

	public void setIsflv(String isflv) {
		this.isflv = isflv;
	}

	public String getContents() {
		return this.contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public String getAddtime() {
		return this.addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}

	public String getHits() {
		return this.hits;
	}

	public void setHits(String hits) {
		this.hits = hits;
	}

	public String getBannername() {
		return this.bannername;
	}

	public void setBannername(String bannername) {
		this.bannername = bannername;
	}

	// 重载方法 生成JSON类型字符串
	@Override
	public String toString() {
		return "Article [articleid=" + this.articleid + ", title=" + this.title + ", bannerid=" + this.bannerid + ", image=" + this.image
				+ ", istop=" + this.istop + ", isflv=" + this.isflv + ", contents=" + this.contents + ", addtime=" + this.addtime + ", hits="
				+ this.hits + ", bannername=" + this.bannername + "]";
	}

}
