|
|
|
|
/**
|
|
|
|
|
* The MIT License (MIT)
|
|
|
|
|
* Copyright (c) 2012-present 铭软科技(mingsoft.net)
|
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
|
|
* this software and associated documentation files (the "Software"), to deal in
|
|
|
|
|
* the Software without restriction, including without limitation the rights to
|
|
|
|
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
|
|
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
|
|
|
* subject to the following conditions:
|
|
|
|
|
|
|
|
|
|
* The above copyright notice and this permission notice shall be included in all
|
|
|
|
|
* copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
|
|
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
|
|
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
|
|
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
|
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package net.mingsoft.cms.bean;
|
|
|
|
|
|
|
|
|
|
import net.mingsoft.cms.entity.ContentEntity;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 文章实体bean
|
|
|
|
|
*/
|
|
|
|
|
public class ContentBean extends ContentEntity {
|
|
|
|
|
|
|
|
|
|
// /**
|
|
|
|
|
// * 静态化地址
|
|
|
|
|
// */
|
|
|
|
|
// private String staticUrl;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 开始时间
|
|
|
|
|
*/
|
|
|
|
|
private String beginTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 结束时间
|
|
|
|
|
*/
|
|
|
|
|
private String endTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 属性标记
|
|
|
|
|
*/
|
|
|
|
|
private String flag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 不包含属性标记
|
|
|
|
|
*/
|
|
|
|
|
private String noflag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 栏目类型,用于筛选文章列表
|
|
|
|
|
*/
|
|
|
|
|
private String categoryType;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 栏目属性,用于筛选文章列表
|
|
|
|
|
*/
|
|
|
|
|
private String categoryFlag;
|
|
|
|
|
|
|
|
|
|
public String getCategoryType() {
|
|
|
|
|
return categoryType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setCategoryType(String categoryType) {
|
|
|
|
|
this.categoryType = categoryType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getCategoryFlag() {
|
|
|
|
|
return categoryFlag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setCategoryFlag(String categoryFlag) {
|
|
|
|
|
this.categoryFlag = categoryFlag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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 String getFlag() {
|
|
|
|
|
return flag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setFlag(String flag) {
|
|
|
|
|
this.flag = flag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getNoflag() {
|
|
|
|
|
return noflag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setNoflag(String noflag) {
|
|
|
|
|
this.noflag = noflag;
|
|
|
|
|
}
|
|
|
|
|
}
|