| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- package com.goafanti.common.model;
- import java.util.Date;
- import org.apache.commons.lang3.time.DateFormatUtils;
- import com.fasterxml.jackson.annotation.JsonIgnore;
- import com.goafanti.common.constant.AFTConstants;
- public class Lecture {
- private String id;
- /**
- * 开展讲座人ID
- */
- private String uid;
- /**
- * 讲座开展时间
- */
- private Date lectureTime;
- /**
- * 记录创建时间
- */
- private Date createTime;
- /**
- * 记录最后更新时间
- */
- private Date lastUpdateTime;
- /**
- * 名称
- */
- private String name;
- /**
- * 简介
- */
- private String summary;
- /**
- * 删除标记
- */
- private Integer deletedSign;
- /**
- * 展示图URL
- */
- private String lectureUrl;
- /**
- * 是否在大咖页面展示
- */
- private Integer hot;
- /**
- * 是否在科技明星动态展示
- */
- private Integer dynamic;
- /**
- * 讲堂结束时间
- */
- private Date endTime;
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getUid() {
- return uid;
- }
- public void setUid(String uid) {
- this.uid = uid;
- }
- public Date getLectureTime() {
- return lectureTime;
- }
- public void setLectureTime(Date lectureTime) {
- this.lectureTime = lectureTime;
- }
- @JsonIgnore
- public Date getCreateTime() {
- return createTime;
- }
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- @JsonIgnore
- public Date getLastUpdateTime() {
- return lastUpdateTime;
- }
- public void setLastUpdateTime(Date lastUpdateTime) {
- this.lastUpdateTime = lastUpdateTime;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getSummary() {
- return summary;
- }
- public void setSummary(String summary) {
- this.summary = summary;
- }
- @JsonIgnore
- public Integer getDeletedSign() {
- return deletedSign;
- }
- public void setDeletedSign(Integer deletedSign) {
- this.deletedSign = deletedSign;
- }
- public String getLectureUrl() {
- return lectureUrl;
- }
- public void setLectureUrl(String lectureUrl) {
- this.lectureUrl = lectureUrl;
- }
- public Integer getHot() {
- return hot;
- }
- public void setHot(Integer hot) {
- this.hot = hot;
- }
- public Integer getDynamic() {
- return dynamic;
- }
- public void setDynamic(Integer dynamic) {
- this.dynamic = dynamic;
- }
- public Date getEndTime() {
- return endTime;
- }
- public void setEndTime(Date endTime) {
- this.endTime = endTime;
- }
- public String getLectureTimeFormattedDate() {
- if (this.lectureTime == null) {
- return null;
- } else {
- return DateFormatUtils.format(this.lectureTime, AFTConstants.YYYYMMDDHHMMSS);
- }
- }
- public void setLectureTimeFormattedDate(String lectureTimeFormattedDate) {
- }
- public String getEndTimeFormattedDate() {
- if (this.endTime == null) {
- return null;
- } else {
- return DateFormatUtils.format(this.endTime, AFTConstants.YYYYMMDDHHMMSS);
- }
- }
- public void setEndTimeFormattedDate(String endTimeFormattedDate) {
- }
- }
|