| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- package com.goafanti.news.bo;
- import java.util.Date;
- import org.apache.commons.lang3.time.DateFormatUtils;
- import com.goafanti.common.constant.AFTConstants;
- public class newsInterestBo {
- private String id;
- private String title;
- private Date createTime;
- private Integer type;
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getTitle() {
- return title;
- }
- public void setTitle(String title) {
- this.title = title;
- }
- public Date getCreateTime() {
- return createTime;
- }
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- public String getCreateTimeFormattedDate() {
- if (this.createTime == null) {
- return null;
- } else {
- return DateFormatUtils.format(this.getCreateTime(), AFTConstants.YYYYMMDD);
- }
- }
- public Integer getType() {
- return type;
- }
- public void setType(Integer type) {
- this.type = type;
- }
- }
|