📄 thread.java
字号:
/* * Copyright 2003 by Redsoft Factory Inc., * Apt 738, 68 Corporate Drive, Toronto, Ontario, Canada * All rights reserved. * * This software is the confidential and proprietary information * of Redsoft Factory Inc. ("Confidential Information"). You * shall not disclose such Confidential Information and shall use * it only in accordance with the terms of the license agreement * you entered into with Redsoft Factory. */package org.redsoft.forum.dao;/** * A class acts as a thread value object * * @author Charles Huang * Date: 23-Feb-2004 * $Id: Thread.java,v 1.5 2004/04/10 19:56:57 cinc Exp $ */public class Thread extends PersistentThread { /** * Default constructor for hibernate */ public Thread() { } public Thread(String title, String content, boolean notify) { super(title, content, notify); } public Thread( long id, String title, long timeStamp, int category, int reply, int click) { super(id, title, timeStamp, category, reply, click); } public Thread(long id, String title, String content, String author, long timeStamp, long parentID, int category, long lastUpdated, int reply, int click, long repliedThreadID, boolean notify) { super(id, title, content, author, timeStamp, parentID, category, lastUpdated, reply, click, repliedThreadID, notify); } public Thread( String title, String content, String author, long timeStamp, long parentID, int category, int reply, int click, long repliedThreadID, boolean notify) { this.title = title; this.content = content; this.author = author; this.timeStamp = timeStamp; this.parent_id = parentID; this.category = category; this.reply = reply; this.click = click; this.replied_thread = repliedThreadID; this.notify = notify; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -