首页>代码>JPA使用视图进行查询、使用Adobe Acrobat准备表单生成PDF>/JpaFormPdf/src/main/java/com/ldg/test/modal/Department.java
package com.ldg.test.modal;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Table(name = "department")
public class Department implements Serializable {
private static final long serialVersionUID = 1L;
@Id
//@GeneratedValue(strategy = GenerationType.AUTO)
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id", nullable = false)
private Long id;
@Column(nullable = false, name = "name")
private String name;
@Column(nullable = true, name = "remark")
private String remark;
public static long getSerialVersionUID() {
return serialVersionUID;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
最近浏览更多
3993zby LV2
2024年11月11日
Peny_ZH LV5
2024年9月21日
liiiyou LV1
2024年6月2日
kenhomeliu LV29
2024年4月30日
youwuzuichen LV11
2024年4月17日
woldxy LV12
2024年4月1日
wanglinddad LV55
2024年3月13日
田DJ sozzled
2024年3月2日
暂无贡献等级
1134116035
2024年2月28日
暂无贡献等级
houxianzheng
2024年2月19日
暂无贡献等级

最近下载
