Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / EventsManage / AffichePublic.java
package com.newfiber.api.pc.model.EventsManage;

import java.io.Serializable;
import java.util.Date;

/**
 * 公告
 */
public class AffichePublic implements Serializable {
    private Long serial;

    private String afficheNo;//公告编号

    private String title;//标题

    private String titleImg;//图片

    private String publisherUserid;//发布人ID

    private String publisherUsername;//发布人名字

    private Date publishTime;//发布时间

    private String areas;//区域

    private String abstracts;//摘要

    private String content;//内容

    private String divisionName;

    private String formatTime;

    public String getFormatTime() {
        return formatTime;
    }

    public void setFormatTime(String formatTime) {
        this.formatTime = formatTime;
    }

    public String getDivisionName() {
        return divisionName;
    }

    public void setDivisionName(String divisionName) {
        this.divisionName = divisionName;
    }

    private static final long serialVersionUID = 1L;

    public Long getSerial() {
        return serial;
    }

    public void setSerial(Long serial) {
        this.serial = serial;
    }

    public String getAfficheNo() {
        return afficheNo;
    }

    public void setAfficheNo(String afficheNo) {
        this.afficheNo = afficheNo == null ? null : afficheNo.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getTitleImg() {
        return titleImg;
    }

    public void setTitleImg(String titleImg) {
        this.titleImg = titleImg == null ? null : titleImg.trim();
    }

    public String getPublisherUserid() {
        return publisherUserid;
    }

    public void setPublisherUserid(String publisherUserid) {
        this.publisherUserid = publisherUserid == null ? null : publisherUserid.trim();
    }

    public String getPublisherUsername() {
        return publisherUsername;
    }

    public void setPublisherUsername(String publisherUsername) {
        this.publisherUsername = publisherUsername == null ? null : publisherUsername.trim();
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public String getAreas() {
        return areas;
    }

    public void setAreas(String areas) {
        this.areas = areas == null ? null : areas.trim();
    }

    public String getAbstracts() {
        return abstracts;
    }

    public void setAbstracts(String abstracts) {
        this.abstracts = abstracts == null ? null : abstracts.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serial=").append(serial);
        sb.append(", afficheNo=").append(afficheNo);
        sb.append(", title=").append(title);
        sb.append(", titleImg=").append(titleImg);
        sb.append(", publisherUserid=").append(publisherUserid);
        sb.append(", publisherUsername=").append(publisherUsername);
        sb.append(", publishTime=").append(publishTime);
        sb.append(", areas=").append(areas);
        sb.append(", abstracts=").append(abstracts);
        sb.append(", content=").append(content);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}