package com.cuikaixuan.hp.annoth.entity;
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;
/**
* Annoth entity. @author MyEclipse Persistence Tools
*/
@Entity
@Table(name = "ANNOTH", schema = "SCOTT")
public class Annoth implements java.io.Serializable {
// Fields
private Integer aid;
private String aname;
// Constructors
/** default constructor */
public Annoth() {
}
/** full constructor */
public Annoth(String aname) {
this.aname = aname;
}
// Property accessors
@GenericGenerator(name = "generator", strategy = "increment")
@Id
@GeneratedValue(generator = "generator")
@Column(name = "AID", unique = true, nullable = false, precision = 8, scale = 0)
public Integer getAid() {
return this.aid;
}
public void setAid(Integer aid) {
this.aid = aid;
}
@Column(name = "ANAME", length = 10)
public String getAname() {
return this.aname;
}
public void setAname(String aname) {
this.aname = aname;
}
}
最近下载更多
张真狗 LV9
2023年5月22日
小王wang LV10
2022年8月15日
uuuuuuuuuuuwwwwww LV3
2021年12月14日
dingyue LV2
2021年12月5日
漫长的白日梦 LV8
2021年12月4日
lsglsg9 LV23
2021年11月24日
yexiansheng LV1
2021年11月6日
GD_chan LV5
2021年7月20日
yu LV1
2021年6月24日
qweqweqwe7987987 LV1
2021年6月22日

最近浏览