| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- package com.goafanti.achievement.bo;
- import java.util.Date;
- import org.apache.commons.lang3.time.DateFormatUtils;
- import com.goafanti.common.constant.AFTConstants;
- public class AchievementInterestBo {
- private String id;
- private String name;
- private Date createTime;
- private Integer type;
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- 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;
- }
- }
|