AnnouncementPO.java 3.58 KB
/*
 * @(#)AnnouncementPO.java
 *
 * Copyright (c) 2014-2017   版权所有
 * xiniunet. All rights reserved.
 *
 * This software is the confidential and proprietary
 * information of  xiniunet.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with xiniunet.
 */
package com.xiniunet.announcement.po;

import com.xiniunet.framework.base.BasePO;
import java.util.Date;

/**
 * 公告通知的数据库模型.
 * @author 
 */
public class AnnouncementPO extends BasePO {

    /**
     * 主键,
     */
    private Long id;

    /**
     * 承租人ID,
     */
    private Long tenantId;

    /**
     * 标题,
     */
    private String title;

    /**
     * 内容,
     */
    private String content;

    /**
     * 发布公告人的ID,
     */
    private Long ownerUserId;

    /**
     * 发布公告人的名称,
     */
    private String ownerUserName;

    /**
     * 公告发布时间,
     */
    private Date announcementTime;


    /**
     * 是否已撤销,
     */
    private Boolean isRevoke;

    /**
     * 撤销公告人的ID,
     */
    private Long revokeUserId;

    /**
     * 撤销公告人的名称,
     */
    private String revokeUserName;

    /**
     * 撤销公告原因,
     */
    private String revokeReason;

    /**
     * 撤销发布时间,
     */
    private Date revokeTime;

    /**
     * 是否已全部确认,
     */
    private Boolean isAllConfirm;

    public Boolean getIsRevoke() {
        return isRevoke;
    }

    public void setIsRevoke(Boolean revoke) {
        isRevoke = revoke;
    }

    public Long getRevokeUserId() {
        return revokeUserId;
    }

    public void setRevokeUserId(Long revokeUserId) {
        this.revokeUserId = revokeUserId;
    }

    public String getRevokeUserName() {
        return revokeUserName;
    }

    public void setRevokeUserName(String revokeUserName) {
        this.revokeUserName = revokeUserName;
    }

    public String getRevokeReason() {
        return revokeReason;
    }

    public void setRevokeReason(String revokeReason) {
        this.revokeReason = revokeReason;
    }

    public Date getRevokeTime() {
        return revokeTime;
    }

    public void setRevokeTime(Date revokeTime) {
        this.revokeTime = revokeTime;
    }

    public Boolean getIsAllConfirm() {
        return isAllConfirm;
    }

    public void setIsAllConfirm(Boolean allConfirm) {
        isAllConfirm = allConfirm;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getOwnerUserId() {
        return ownerUserId;
    }

    public void setOwnerUserId(Long ownerUserId) {
        this.ownerUserId = ownerUserId;
    }

    public String getOwnerUserName() {
        return ownerUserName;
    }

    public void setOwnerUserName(String ownerUserName) {
        this.ownerUserName = ownerUserName;
    }

    public Date getAnnouncementTime() {
        return announcementTime;
    }

    public void setAnnouncementTime(Date announcementTime) {
        this.announcementTime = announcementTime;
    }

}