⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 commend.java

📁 一个社区系统
💻 JAVA
字号:
package com.laoer.bbscs.bean;

import java.io.Serializable;import org.apache.commons.lang.builder.ToStringBuilder;

/** @author Hibernate CodeGenerator */
public class Commend implements Serializable {

    /** identifier field */
    private Long id;

    /** nullable persistent field */
    private long postID;

    /** nullable persistent field */
    private long postID2;

    /** nullable persistent field */
    private long bid;

    /** persistent field */
    private String title;

    /** persistent field */
    private short isBull;

    /** nullable persistent field */
    private String boardName;

    /** nullable persistent field */
    private long addTime;

    /** full constructor */
    public Commend(long postID, long postID2, long bid, String title, short isBull, String boardName, long addTime) {
        this.postID = postID;
        this.postID2 = postID2;
        this.bid = bid;
        this.title = title;
        this.isBull = isBull;
        this.boardName = boardName;
        this.addTime = addTime;
    }

    /** default constructor */
    public Commend() {
    }

    /** minimal constructor */
    public Commend(String title, short isBull) {
        this.title = title;
        this.isBull = isBull;
    }

    public Long getId() {
        return this.id;
    }

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

    public long getPostID() {
        return this.postID;
    }

    public void setPostID(long postID) {
        this.postID = postID;
    }

    public long getPostID2() {
        return this.postID2;
    }

    public void setPostID2(long postID2) {
        this.postID2 = postID2;
    }

    public long getBid() {
        return this.bid;
    }

    public void setBid(long bid) {
        this.bid = bid;
    }

    public String getTitle() {
        return this.title;
    }

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

    public short getIsBull() {
        return this.isBull;
    }

    public void setIsBull(short isBull) {
        this.isBull = isBull;
    }

    public String getBoardName() {
        return this.boardName;
    }

    public void setBoardName(String boardName) {
        this.boardName = boardName;
    }

    public long getAddTime() {
        return this.addTime;
    }

    public void setAddTime(long addTime) {
        this.addTime = addTime;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -