baseinfo.java.svn-base

来自「一个使用ssh+ext的例子。 希望对开发这个应用的人带来好处。仔细研究里面的」· SVN-BASE 代码 · 共 43 行

SVN-BASE
43
字号
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 + =
减小字号Ctrl + -
显示快捷键?