From 0e55feea16251ae4afc1d9d366341b53b0168829 Mon Sep 17 00:00:00 2001 From: Romesum Date: Fri, 8 May 2020 18:36:44 +0800 Subject: [PATCH] =?UTF-8?q?[reset]:=E8=BF=98=E5=8E=9FLabBean=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hzu/bookingsystem/bean/LabBean.java | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 java/src/main/java/com/hzu/bookingsystem/bean/LabBean.java diff --git a/java/src/main/java/com/hzu/bookingsystem/bean/LabBean.java b/java/src/main/java/com/hzu/bookingsystem/bean/LabBean.java new file mode 100644 index 0000000..8b0b735 --- /dev/null +++ b/java/src/main/java/com/hzu/bookingsystem/bean/LabBean.java @@ -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; + +}