- 实验室管理系统mysql数据库创建语句
- 实验室管理系统oracle数据库创建语句
- 实验室管理系统sqlserver数据库创建语句
- 实验室管理系统spring+springMVC+hibernate框架对象(javaBean,pojo)设计
- 实验室管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计
实验室管理系统mysql数据库版本源码:
超级管理员表创建语句如下:
create table t_admin(
id int primary key auto_increment comment '主键',
username varchar(100) comment '超级管理员账号',
password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');
用户表创建语句如下:
create table t_customer(
id int primary key auto_increment comment '主键',
username varchar(100) comment '账号',
password varchar(100) comment '密码',
teacherName varchar(100) comment '姓名',
phone varchar(100) comment '电话',
age varchar(100) comment '年龄',
sex varchar(100) comment '',
js varchar(100) comment ''
) comment '用户';
公告表创建语句如下:
create table t_gonggao(
id int primary key auto_increment comment '主键',
title varchar(100) comment '标题',
content text comment '内容',
insertDate datetime comment '日期'
) comment '公告';
实验室使用情况表创建语句如下:
create table t_qk(
id int primary key auto_increment comment '主键',
customerId int comment '用户',
content text comment '使用情况',
sysName varchar(100) comment '实验室编号',
beginDate datetime comment '开始日期',
endDate datetime comment '结束日期',
v1 text comment '硬件',
v2 text comment '软件',
v3 text comment '课程',
pch varchar(100) comment '使用批次号'
) comment '实验室使用情况';
软件表创建语句如下:
create table t_rj(
id int primary key auto_increment comment '主键',
rjName varchar(100) comment '软件名称',
remark text comment '备注'
) comment '软件';
实验室申请表创建语句如下:
create table t_sq(
id int primary key auto_increment comment '主键',
customerId int comment '用户',
js varchar(100) comment '',
sysName varchar(100) comment '实验室编号',
beginDate datetime comment '开始日期',
endDate datetime comment '结束日期',
v1 text comment '硬件',
v2 text comment '软件',
v3 text comment '课程',
status varchar(100) comment '状态',
back text comment '回复'
) comment '实验室申请';
实验室表创建语句如下:
create table t_sys(
id int primary key auto_increment comment '主键',
sysName varchar(100) comment '实验室编号',
status varchar(100) comment '',
beginDate datetime comment '开始日期',
endDate datetime comment '结束日期',
v1 text comment '硬件',
v2 text comment '软件',
v3 text comment '课程',
customerId int comment '用户'
) comment '实验室';
硬件表创建语句如下:
create table t_yj(
id int primary key auto_increment comment '主键',
yjName varchar(100) comment '硬件名称',
remark text comment '备注'
) comment '硬件';
实验室管理系统oracle数据库版本源码:
超级管理员表创建语句如下:
create table t_admin(
id integer,
username varchar(100),
password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';
用户表创建语句如下:
create table t_customer(
id integer,
username varchar(100),
password varchar(100),
teacherName varchar(100),
phone varchar(100),
age varchar(100),
sex varchar(100),
js varchar(100)
);
--用户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.teacherName is '姓名';
comment on column t_customer.phone is '电话';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '';
comment on column t_customer.js is '';
--用户表加注释
comment on table t_customer is '用户';
公告表创建语句如下:
create table t_gonggao(
id integer,
title varchar(100),
content text,
insertDate datetime
);
--公告字段加注释
comment on column t_gonggao.id is '主键';
comment on column t_gonggao.title is '标题';
comment on column t_gonggao.content is '内容';
comment on column t_gonggao.insertDate is '日期';
--公告表加注释
comment on table t_gonggao is '公告';
实验室使用情况表创建语句如下:
create table t_qk(
id integer,
customerId int,
content text,
sysName varchar(100),
beginDate datetime,
endDate datetime,
v1 text,
v2 text,
v3 text,
pch varchar(100)
);
--实验室使用情况字段加注释
comment on column t_qk.id is '主键';
comment on column t_qk.customerId is '用户';
comment on column t_qk.content is '使用情况';
comment on column t_qk.sysName is '实验室编号';
comment on column t_qk.beginDate is '开始日期';
comment on column t_qk.endDate is '结束日期';
comment on column t_qk.v1 is '硬件';
comment on column t_qk.v2 is '软件';
comment on column t_qk.v3 is '课程';
comment on column t_qk.pch is '使用批次号';
--实验室使用情况表加注释
comment on table t_qk is '实验室使用情况';
软件表创建语句如下:
create table t_rj(
id integer,
rjName varchar(100),
remark text
);
--软件字段加注释
comment on column t_rj.id is '主键';
comment on column t_rj.rjName is '软件名称';
comment on column t_rj.remark is '备注';
--软件表加注释
comment on table t_rj is '软件';
实验室申请表创建语句如下:
create table t_sq(
id integer,
customerId int,
js varchar(100),
sysName varchar(100),
beginDate datetime,
endDate datetime,
v1 text,
v2 text,
v3 text,
status varchar(100),
back text
);
--实验室申请字段加注释
comment on column t_sq.id is '主键';
comment on column t_sq.customerId is '用户';
comment on column t_sq.js is '';
comment on column t_sq.sysName is '实验室编号';
comment on column t_sq.beginDate is '开始日期';
comment on column t_sq.endDate is '结束日期';
comment on column t_sq.v1 is '硬件';
comment on column t_sq.v2 is '软件';
comment on column t_sq.v3 is '课程';
comment on column t_sq.status is '状态';
comment on column t_sq.back is '回复';
--实验室申请表加注释
comment on table t_sq is '实验室申请';
实验室表创建语句如下:
create table t_sys(
id integer,
sysName varchar(100),
status varchar(100),
beginDate datetime,
endDate datetime,
v1 text,
v2 text,
v3 text,
customerId int
);
--实验室字段加注释
comment on column t_sys.id is '主键';
comment on column t_sys.sysName is '实验室编号';
comment on column t_sys.status is '';
comment on column t_sys.beginDate is '开始日期';
comment on column t_sys.endDate is '结束日期';
comment on column t_sys.v1 is '硬件';
comment on column t_sys.v2 is '软件';
comment on column t_sys.v3 is '课程';
comment on column t_sys.customerId is '用户';
--实验室表加注释
comment on table t_sys is '实验室';
硬件表创建语句如下:
create table t_yj(
id integer,
yjName varchar(100),
remark text
);
--硬件字段加注释
comment on column t_yj.id is '主键';
comment on column t_yj.yjName is '硬件名称';
comment on column t_yj.remark is '备注';
--硬件表加注释
comment on table t_yj is '硬件';
oracle特有,对应序列如下:
create sequence s_t_customer;
create sequence s_t_gonggao;
create sequence s_t_qk;
create sequence s_t_rj;
create sequence s_t_sq;
create sequence s_t_sys;
create sequence s_t_yj;
实验室管理系统sqlserver数据库版本源码:
超级管理员表创建语句如下:
--超级管理员
create table t_admin(
id int identity(1,1) primary key not null,--主键
username varchar(100),--超级管理员账号
password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');
用户表创建语句如下:
--用户表注释
create table t_customer(
id int identity(1,1) primary key not null,--主键
username varchar(100),--账号
password varchar(100),--密码
teacherName varchar(100),--姓名
phone varchar(100),--电话
age varchar(100),--年龄
sex varchar(100),--
js varchar(100)--
);
公告表创建语句如下:
--公告表注释
create table t_gonggao(
id int identity(1,1) primary key not null,--主键
title varchar(100),--标题
content text,--内容
insertDate datetime--日期
);
实验室使用情况表创建语句如下:
--实验室使用情况表注释
create table t_qk(
id int identity(1,1) primary key not null,--主键
customerId int,--用户
content text,--使用情况
sysName varchar(100),--实验室编号
beginDate datetime,--开始日期
endDate datetime,--结束日期
v1 text,--硬件
v2 text,--软件
v3 text,--课程
pch varchar(100)--使用批次号
);
软件表创建语句如下:
--软件表注释
create table t_rj(
id int identity(1,1) primary key not null,--主键
rjName varchar(100),--软件名称
remark text--备注
);
实验室申请表创建语句如下:
--实验室申请表注释
create table t_sq(
id int identity(1,1) primary key not null,--主键
customerId int,--用户
js varchar(100),--
sysName varchar(100),--实验室编号
beginDate datetime,--开始日期
endDate datetime,--结束日期
v1 text,--硬件
v2 text,--软件
v3 text,--课程
status varchar(100),--状态
back text--回复
);
实验室表创建语句如下:
--实验室表注释
create table t_sys(
id int identity(1,1) primary key not null,--主键
sysName varchar(100),--实验室编号
status varchar(100),--
beginDate datetime,--开始日期
endDate datetime,--结束日期
v1 text,--硬件
v2 text,--软件
v3 text,--课程
customerId int--用户
);
硬件表创建语句如下:
--硬件表注释
create table t_yj(
id int identity(1,1) primary key not null,--主键
yjName varchar(100),--硬件名称
remark text--备注
);
实验室管理系统spring+springMVC+hibernate框架对象(javaBean,pojo)设计:
用户javaBean创建语句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//用户
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String teacherName;
//电话
private String phone;
//年龄
private String age;
//
private String sex;
//
private String js;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}
公告javaBean创建语句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//公告
@Table(name = "t_gonggao")
public class Gonggao {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//日期
private Date insertDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
实验室使用情况javaBean创建语句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//实验室使用情况
@Table(name = "t_qk")
public class Qk {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Long customerId;
//使用情况
private String content;
//实验室编号
private String sysName;
//开始日期
private Date beginDate;
//结束日期
private Date endDate;
//硬件
private String v1;
//软件
private String v2;
//课程
private String v3;
//使用批次号
private String pch;
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getSysName() {return sysName;}
public void setSysName(String sysName) {this.sysName = sysName;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getPch() {return pch;}
public void setPch(String pch) {this.pch = pch;}
}
软件javaBean创建语句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//软件
@Table(name = "t_rj")
public class Rj {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//软件名称
private String rjName;
//备注
private String remark;
public String getRjName() {return rjName;}
public void setRjName(String rjName) {this.rjName = rjName;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
实验室申请javaBean创建语句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//实验室申请
@Table(name = "t_sq")
public class Sq {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Long customerId;
//
private String js;
//实验室编号
private String sysName;
//开始日期
private Date beginDate;
//结束日期
private Date endDate;
//硬件
private String v1;
//软件
private String v2;
//课程
private String v3;
//状态
private String status;
//回复
private String back;
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
public String getSysName() {return sysName;}
public void setSysName(String sysName) {this.sysName = sysName;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}
实验室javaBean创建语句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//实验室
@Table(name = "t_sys")
public class Sys {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//实验室编号
private String sysName;
//
private String status;
//开始日期
private Date beginDate;
//结束日期
private Date endDate;
//硬件
private String v1;
//软件
private String v2;
//课程
private String v3;
//用户
private Long customerId;
public String getSysName() {return sysName;}
public void setSysName(String sysName) {this.sysName = sysName;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
}
硬件javaBean创建语句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//硬件
@Table(name = "t_yj")
public class Yj {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//硬件名称
private String yjName;
//备注
private String remark;
public String getYjName() {return yjName;}
public void setYjName(String yjName) {this.yjName = yjName;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
实验室管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:
用户javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//用户
public class Customer extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String teacherName;
//电话
private String phone;
//年龄
private String age;
//
private String sex;
//
private String js;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}
公告javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//公告
public class Gonggao extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//日期
private Date insertDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
实验室使用情况javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//实验室使用情况
public class Qk extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Long customerId;
//使用情况
private String content;
//实验室编号
private String sysName;
//开始日期
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date beginDate;
//结束日期
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endDate;
//硬件
private String v1;
//软件
private String v2;
//课程
private String v3;
//使用批次号
private String pch;
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getSysName() {return sysName;}
public void setSysName(String sysName) {this.sysName = sysName;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getPch() {return pch;}
public void setPch(String pch) {this.pch = pch;}
}
软件javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//软件
public class Rj extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//软件名称
private String rjName;
//备注
private String remark;
public String getRjName() {return rjName;}
public void setRjName(String rjName) {this.rjName = rjName;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
实验室申请javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//实验室申请
public class Sq extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Long customerId;
//
private String js;
//实验室编号
private String sysName;
//开始日期
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date beginDate;
//结束日期
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endDate;
//硬件
private String v1;
//软件
private String v2;
//课程
private String v3;
//状态
private String status;
//回复
private String back;
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
public String getSysName() {return sysName;}
public void setSysName(String sysName) {this.sysName = sysName;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}
实验室javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//实验室
public class Sys extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//实验室编号
private String sysName;
//
private String status;
//开始日期
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date beginDate;
//结束日期
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endDate;
//硬件
private String v1;
//软件
private String v2;
//课程
private String v3;
//用户
private Long customerId;
public String getSysName() {return sysName;}
public void setSysName(String sysName) {this.sysName = sysName;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
}
硬件javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//硬件
public class Yj extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//硬件名称
private String yjName;
//备注
private String remark;
public String getYjName() {return yjName;}
public void setYjName(String yjName) {this.yjName = yjName;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}