📄 baseinfo.java.svn-base
字号:
package com.hotelmaster.home.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
@Entity
@Table(name="nhbaseinfo")
public class BaseInfo {
private String bioId; //PKId
private String bioName; //信息名称
private String bioValue; //信息值
@Id
@Column(nullable=false, updatable=false, length=32)
@GeneratedValue(generator="system-uuid")
@GenericGenerator(name="system-uuid", strategy="uuid")
public String getBioId() {
return bioId;
}
public void setBioId(String bioId) {
this.bioId = bioId;
}
@Column(nullable=false,length=32)
public String getBioName() {
return bioName;
}
public void setBioName(String bioName) {
this.bioName = bioName;
}
@Column(nullable=false,length=200)
public String getBioValue() {
return bioValue;
}
public void setBioValue(String bioValue) {
this.bioValue = bioValue;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -