📄 vote.java
字号:
package com.redsaga.hibernatesample.step4;
import com.redsaga.hibernatesample.step4.base.BaseVote;
/**
* This is the object class that relates to the vote table.
* Any customizations belong here.
*/
public class Vote extends BaseVote {
/*[CONSTRUCTOR MARKER BEGIN]*/
public Vote () {
super();
}
/**
* Constructor for primary key
*/
public Vote (java.lang.Integer _id) {
super(_id);
}
/**
* Constructor for required fields
*/
public Vote (
java.lang.Integer _id,
com.redsaga.hibernatesample.step4.User _createBy,
com.redsaga.hibernatesample.step4.Article _parent,
com.redsaga.hibernatesample.step4.Board _board,
com.redsaga.hibernatesample.step4.User _lastUpdateBy,
java.util.Date _lastUpdateTime,
java.util.Date _createTime,
java.lang.String _title,
int _hits,
java.lang.Integer _articleType) {
super (
_id,
_createBy,
_parent,
_board,
_lastUpdateBy,
_lastUpdateTime,
_createTime,
_title,
_hits,
_articleType);
}
/*[CONSTRUCTOR MARKER END]*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -