parent
690ebcc329
commit
0e55feea16
@ -0,0 +1,37 @@
|
|||||||
|
package com.hzu.bookingsystem.bean;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
import java.util.Date;
|
||||||
|
/**
|
||||||
|
* author 吴志岳
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@Table(name = "tb_lab")
|
||||||
|
public class LabBean {
|
||||||
|
@Id
|
||||||
|
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
||||||
|
private Integer labId;
|
||||||
|
// 管理员uID
|
||||||
|
private Integer managerId;
|
||||||
|
|
||||||
|
// 实验室名称
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
// 实验室地点
|
||||||
|
private String position;
|
||||||
|
|
||||||
|
// 实验室容量
|
||||||
|
private Integer capacity;
|
||||||
|
|
||||||
|
// 实验室含有的软件(逗号隔开)
|
||||||
|
private String software;
|
||||||
|
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue