基于WEB的学员连队日常管理,java毕业设计项目

基于WEB的学员连队日常管理登录注册界面

基于WEB的学员连队日常管理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_contact(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	phone varchar(100) comment '联系方式',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期'
) comment '建议';

客户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址',
	mobile varchar(100) comment '手机',
	ctype varchar(100) comment ''
) comment '客户';

公差表创建语句如下:


create table t_gc(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	gcDate varchar(100) comment '公差时长',
	content varchar(100) comment '公差说明',
	status varchar(100) comment '状态'
) comment '公差';

信息交流表创建语句如下:


create table t_message(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	messageContent varchar(100) comment '内容',
	types int comment '',
	insertDate datetime comment '时间'
) comment '信息交流';

评分表创建语句如下:


create table t_pf(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	xm varchar(100) comment '姓名',
	xh varchar(100) comment '学号',
	zw varchar(100) comment '职位',
	dw varchar(100) comment '单位',
	gcCode int comment '公差评分',
	xjCode int comment '销假评分',
	wsCode int comment '内务卫生评分',
	skCode int comment '上课评分',
	psCode int comment '平时总评分'
) comment '评分';

请假表创建语句如下:


create table t_qj(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	qjType varchar(100) comment '请假类型',
	content varchar(100) comment '请假说明',
	qjDate varchar(100) comment '请假日期',
	status varchar(100) comment '状态',
	lev varchar(100) comment '请假表现',
	qjDesc varchar(100) comment '评价',
	qjEndDate varchar(100) comment ''
) comment '请假';

上课表创建语句如下:


create table t_sk(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	content varchar(100) comment '上课说明',
	status varchar(100) comment '状态'
) comment '上课';

信息模板表创建语句如下:


create table t_test(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	testName varchar(100) comment '姓名',
	testContent varchar(100) comment '内容',
	testSex varchar(100) comment '性别',
	testDay varchar(100) comment '日期',
	testPic varchar(100) comment '图片',
	insertDate datetime comment '时间'
) comment '信息模板';

通知表创建语句如下:


create table t_tz(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	tzContent varchar(100) comment '通知内容',
	tzDate varchar(100) comment '通知日期',
	status varchar(100) comment '状态',
	tzTitle varchar(100) comment ''
) comment '通知';

卫生表创建语句如下:


create table t_ws(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	content varchar(100) comment '卫生说明',
	status varchar(100) comment '状态'
) comment '卫生';

基于WEB的学员连队日常管理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_contact(
	id integer,
	customerId int,
	phone varchar(100),
	content varchar(100),
	insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.customerId is '用户';
comment on column t_contact.phone is '联系方式';
comment on column t_contact.content is '内容';
comment on column t_contact.insertDate is '日期';
--建议表加注释
comment on table t_contact is '建议';

客户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	sex varchar(100),
	address varchar(100),
	mobile varchar(100),
	ctype 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.name is '姓名';
comment on column t_customer.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.mobile is '手机';
comment on column t_customer.ctype is '';
--客户表加注释
comment on table t_customer is '客户';

公差表创建语句如下:


create table t_gc(
	id integer,
	customerId int,
	gcDate varchar(100),
	content varchar(100),
	status varchar(100)
);
--公差字段加注释
comment on column t_gc.id is '主键';
comment on column t_gc.customerId is '用户';
comment on column t_gc.gcDate is '公差时长';
comment on column t_gc.content is '公差说明';
comment on column t_gc.status is '状态';
--公差表加注释
comment on table t_gc is '公差';

信息交流表创建语句如下:


create table t_message(
	id integer,
	customerId int,
	messageContent varchar(100),
	types int,
	insertDate datetime
);
--信息交流字段加注释
comment on column t_message.id is '主键';
comment on column t_message.customerId is '用户';
comment on column t_message.messageContent is '内容';
comment on column t_message.types is '';
comment on column t_message.insertDate is '时间';
--信息交流表加注释
comment on table t_message is '信息交流';

评分表创建语句如下:


create table t_pf(
	id integer,
	customerId int,
	xm varchar(100),
	xh varchar(100),
	zw varchar(100),
	dw varchar(100),
	gcCode int,
	xjCode int,
	wsCode int,
	skCode int,
	psCode int
);
--评分字段加注释
comment on column t_pf.id is '主键';
comment on column t_pf.customerId is '用户';
comment on column t_pf.xm is '姓名';
comment on column t_pf.xh is '学号';
comment on column t_pf.zw is '职位';
comment on column t_pf.dw is '单位';
comment on column t_pf.gcCode is '公差评分';
comment on column t_pf.xjCode is '销假评分';
comment on column t_pf.wsCode is '内务卫生评分';
comment on column t_pf.skCode is '上课评分';
comment on column t_pf.psCode is '平时总评分';
--评分表加注释
comment on table t_pf is '评分';

请假表创建语句如下:


create table t_qj(
	id integer,
	customerId int,
	qjType varchar(100),
	content varchar(100),
	qjDate varchar(100),
	status varchar(100),
	lev varchar(100),
	qjDesc varchar(100),
	qjEndDate varchar(100)
);
--请假字段加注释
comment on column t_qj.id is '主键';
comment on column t_qj.customerId is '用户';
comment on column t_qj.qjType is '请假类型';
comment on column t_qj.content is '请假说明';
comment on column t_qj.qjDate is '请假日期';
comment on column t_qj.status is '状态';
comment on column t_qj.lev is '请假表现';
comment on column t_qj.qjDesc is '评价';
comment on column t_qj.qjEndDate is '';
--请假表加注释
comment on table t_qj is '请假';

上课表创建语句如下:


create table t_sk(
	id integer,
	customerId int,
	content varchar(100),
	status varchar(100)
);
--上课字段加注释
comment on column t_sk.id is '主键';
comment on column t_sk.customerId is '用户';
comment on column t_sk.content is '上课说明';
comment on column t_sk.status is '状态';
--上课表加注释
comment on table t_sk is '上课';

信息模板表创建语句如下:


create table t_test(
	id integer,
	customerId int,
	testName varchar(100),
	testContent varchar(100),
	testSex varchar(100),
	testDay varchar(100),
	testPic varchar(100),
	insertDate datetime
);
--信息模板字段加注释
comment on column t_test.id is '主键';
comment on column t_test.customerId is '用户';
comment on column t_test.testName is '姓名';
comment on column t_test.testContent is '内容';
comment on column t_test.testSex is '性别';
comment on column t_test.testDay is '日期';
comment on column t_test.testPic is '图片';
comment on column t_test.insertDate is '时间';
--信息模板表加注释
comment on table t_test is '信息模板';

通知表创建语句如下:


create table t_tz(
	id integer,
	customerId int,
	tzContent varchar(100),
	tzDate varchar(100),
	status varchar(100),
	tzTitle varchar(100)
);
--通知字段加注释
comment on column t_tz.id is '主键';
comment on column t_tz.customerId is '用户';
comment on column t_tz.tzContent is '通知内容';
comment on column t_tz.tzDate is '通知日期';
comment on column t_tz.status is '状态';
comment on column t_tz.tzTitle is '';
--通知表加注释
comment on table t_tz is '通知';

卫生表创建语句如下:


create table t_ws(
	id integer,
	customerId int,
	content varchar(100),
	status varchar(100)
);
--卫生字段加注释
comment on column t_ws.id is '主键';
comment on column t_ws.customerId is '用户';
comment on column t_ws.content is '卫生说明';
comment on column t_ws.status is '状态';
--卫生表加注释
comment on table t_ws is '卫生';

oracle特有,对应序列如下:


create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_gc;
create sequence s_t_message;
create sequence s_t_pf;
create sequence s_t_qj;
create sequence s_t_sk;
create sequence s_t_test;
create sequence s_t_tz;
create sequence s_t_ws;

基于WEB的学员连队日常管理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_contact(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	phone varchar(100),--联系方式
	content varchar(100),--内容
	insertDate datetime--日期
);

客户表创建语句如下:


--客户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	name varchar(100),--姓名
	sex varchar(100),--性别
	address varchar(100),--地址
	mobile varchar(100),--手机
	ctype varchar(100)--
);

公差表创建语句如下:


--公差表注释
create table t_gc(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	gcDate varchar(100),--公差时长
	content varchar(100),--公差说明
	status varchar(100)--状态
);

信息交流表创建语句如下:


--信息交流表注释
create table t_message(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	messageContent varchar(100),--内容
	types int,--
	insertDate datetime--时间
);

评分表创建语句如下:


--评分表注释
create table t_pf(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	xm varchar(100),--姓名
	xh varchar(100),--学号
	zw varchar(100),--职位
	dw varchar(100),--单位
	gcCode int,--公差评分
	xjCode int,--销假评分
	wsCode int,--内务卫生评分
	skCode int,--上课评分
	psCode int--平时总评分
);

请假表创建语句如下:


--请假表注释
create table t_qj(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	qjType varchar(100),--请假类型
	content varchar(100),--请假说明
	qjDate varchar(100),--请假日期
	status varchar(100),--状态
	lev varchar(100),--请假表现
	qjDesc varchar(100),--评价
	qjEndDate varchar(100)--
);

上课表创建语句如下:


--上课表注释
create table t_sk(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	content varchar(100),--上课说明
	status varchar(100)--状态
);

信息模板表创建语句如下:


--信息模板表注释
create table t_test(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	testName varchar(100),--姓名
	testContent varchar(100),--内容
	testSex varchar(100),--性别
	testDay varchar(100),--日期
	testPic varchar(100),--图片
	insertDate datetime--时间
);

通知表创建语句如下:


--通知表注释
create table t_tz(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	tzContent varchar(100),--通知内容
	tzDate varchar(100),--通知日期
	status varchar(100),--状态
	tzTitle varchar(100)--
);

卫生表创建语句如下:


--卫生表注释
create table t_ws(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	content varchar(100),--卫生说明
	status varchar(100)--状态
);

基于WEB的学员连队日常管理登录后主页

基于WEB的学员连队日常管理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_contact")
public class Contact {
//主键
@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 Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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_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 name;
//性别
private String sex;
//地址
private String address;
//手机
private String mobile;
//
private String ctype;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
public String getCtype() {return ctype;}
public void setCtype(String ctype) {this.ctype = ctype;}
}

公差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_gc")
public class Gc {
//主键
@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 Integer customerId;
//公差时长
private String gcDate;
//公差说明
private String content;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getGcDate() {return gcDate;}
public void setGcDate(String gcDate) {this.gcDate = gcDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

信息交流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_message")
public class Message {
//主键
@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 Integer customerId;
//内容
private String messageContent;
//
private Integer types;
//时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getMessageContent() {return messageContent;}
public void setMessageContent(String messageContent) {this.messageContent = messageContent;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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_pf")
public class Pf {
//主键
@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 Integer customerId;
//姓名
private String xm;
//学号
private String xh;
//职位
private String zw;
//单位
private String dw;
//公差评分
private Integer gcCode;
//销假评分
private Integer xjCode;
//内务卫生评分
private Integer wsCode;
//上课评分
private Integer skCode;
//平时总评分
private Integer psCode;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getXm() {return xm;}
public void setXm(String xm) {this.xm = xm;}
public String getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
public String getZw() {return zw;}
public void setZw(String zw) {this.zw = zw;}
public String getDw() {return dw;}
public void setDw(String dw) {this.dw = dw;}
public Integer getGcCode() {return gcCode;}
public void setGcCode(Integer gcCode) {this.gcCode = gcCode;}
public Integer getXjCode() {return xjCode;}
public void setXjCode(Integer xjCode) {this.xjCode = xjCode;}
public Integer getWsCode() {return wsCode;}
public void setWsCode(Integer wsCode) {this.wsCode = wsCode;}
public Integer getSkCode() {return skCode;}
public void setSkCode(Integer skCode) {this.skCode = skCode;}
public Integer getPsCode() {return psCode;}
public void setPsCode(Integer psCode) {this.psCode = psCode;}
}

请假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_qj")
public class Qj {
//主键
@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 Integer customerId;
//请假类型
private String qjType;
//请假说明
private String content;
//请假日期
private String qjDate;
//状态
private String status;
//请假表现
private String lev;
//评价
private String qjDesc;
//
private String qjEndDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getQjType() {return qjType;}
public void setQjType(String qjType) {this.qjType = qjType;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getQjDate() {return qjDate;}
public void setQjDate(String qjDate) {this.qjDate = qjDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getLev() {return lev;}
public void setLev(String lev) {this.lev = lev;}
public String getQjDesc() {return qjDesc;}
public void setQjDesc(String qjDesc) {this.qjDesc = qjDesc;}
public String getQjEndDate() {return qjEndDate;}
public void setQjEndDate(String qjEndDate) {this.qjEndDate = qjEndDate;}
}

上课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_sk")
public class Sk {
//主键
@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 Integer customerId;
//上课说明
private String content;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

信息模板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_test")
public class Test {
//主键
@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 Integer customerId;
//姓名
private String testName;
//内容
private String testContent;
//性别
private String testSex;
//日期
private String testDay;
//图片
private String testPic;
//时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTestName() {return testName;}
public void setTestName(String testName) {this.testName = testName;}
public String getTestContent() {return testContent;}
public void setTestContent(String testContent) {this.testContent = testContent;}
public String getTestSex() {return testSex;}
public void setTestSex(String testSex) {this.testSex = testSex;}
public String getTestDay() {return testDay;}
public void setTestDay(String testDay) {this.testDay = testDay;}
public String getTestPic() {return testPic;}
public void setTestPic(String testPic) {this.testPic = testPic;}
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_tz")
public class Tz {
//主键
@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 Integer customerId;
//通知内容
private String tzContent;
//通知日期
private String tzDate;
//状态
private String status;
//
private String tzTitle;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTzContent() {return tzContent;}
public void setTzContent(String tzContent) {this.tzContent = tzContent;}
public String getTzDate() {return tzDate;}
public void setTzDate(String tzDate) {this.tzDate = tzDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getTzTitle() {return tzTitle;}
public void setTzTitle(String tzTitle) {this.tzTitle = tzTitle;}
}

卫生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_ws")
public class Ws {
//主键
@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 Integer customerId;
//卫生说明
private String content;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

基于WEB的学员连队日常管理spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

建议javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//建议
public class Contact  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 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 name;
//性别
private String sex;
//地址
private String address;
//手机
private String mobile;
//
private String ctype;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
public String getCtype() {return ctype;}
public void setCtype(String ctype) {this.ctype = ctype;}
}

公差javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//公差
public class Gc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//公差时长
private String gcDate;
//公差说明
private String content;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getGcDate() {return gcDate;}
public void setGcDate(String gcDate) {this.gcDate = gcDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

信息交流javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//信息交流
public class Message  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String messageContent;
//
private Integer types;
//时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getMessageContent() {return messageContent;}
public void setMessageContent(String messageContent) {this.messageContent = messageContent;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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 Pf  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//姓名
private String xm;
//学号
private String xh;
//职位
private String zw;
//单位
private String dw;
//公差评分
private Integer gcCode;
//销假评分
private Integer xjCode;
//内务卫生评分
private Integer wsCode;
//上课评分
private Integer skCode;
//平时总评分
private Integer psCode;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getXm() {return xm;}
public void setXm(String xm) {this.xm = xm;}
public String getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
public String getZw() {return zw;}
public void setZw(String zw) {this.zw = zw;}
public String getDw() {return dw;}
public void setDw(String dw) {this.dw = dw;}
public Integer getGcCode() {return gcCode;}
public void setGcCode(Integer gcCode) {this.gcCode = gcCode;}
public Integer getXjCode() {return xjCode;}
public void setXjCode(Integer xjCode) {this.xjCode = xjCode;}
public Integer getWsCode() {return wsCode;}
public void setWsCode(Integer wsCode) {this.wsCode = wsCode;}
public Integer getSkCode() {return skCode;}
public void setSkCode(Integer skCode) {this.skCode = skCode;}
public Integer getPsCode() {return psCode;}
public void setPsCode(Integer psCode) {this.psCode = psCode;}
}

请假javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//请假
public class Qj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//请假类型
private String qjType;
//请假说明
private String content;
//请假日期
private String qjDate;
//状态
private String status;
//请假表现
private String lev;
//评价
private String qjDesc;
//
private String qjEndDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getQjType() {return qjType;}
public void setQjType(String qjType) {this.qjType = qjType;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getQjDate() {return qjDate;}
public void setQjDate(String qjDate) {this.qjDate = qjDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getLev() {return lev;}
public void setLev(String lev) {this.lev = lev;}
public String getQjDesc() {return qjDesc;}
public void setQjDesc(String qjDesc) {this.qjDesc = qjDesc;}
public String getQjEndDate() {return qjEndDate;}
public void setQjEndDate(String qjEndDate) {this.qjEndDate = qjEndDate;}
}

上课javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//上课
public class Sk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//上课说明
private String content;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

信息模板javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//信息模板
public class Test  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//姓名
private String testName;
//内容
private String testContent;
//性别
private String testSex;
//日期
private String testDay;
//图片
private String testPic;
//时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTestName() {return testName;}
public void setTestName(String testName) {this.testName = testName;}
public String getTestContent() {return testContent;}
public void setTestContent(String testContent) {this.testContent = testContent;}
public String getTestSex() {return testSex;}
public void setTestSex(String testSex) {this.testSex = testSex;}
public String getTestDay() {return testDay;}
public void setTestDay(String testDay) {this.testDay = testDay;}
public String getTestPic() {return testPic;}
public void setTestPic(String testPic) {this.testPic = testPic;}
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 Tz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//通知内容
private String tzContent;
//通知日期
private String tzDate;
//状态
private String status;
//
private String tzTitle;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTzContent() {return tzContent;}
public void setTzContent(String tzContent) {this.tzContent = tzContent;}
public String getTzDate() {return tzDate;}
public void setTzDate(String tzDate) {this.tzDate = tzDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getTzTitle() {return tzTitle;}
public void setTzTitle(String tzTitle) {this.tzTitle = tzTitle;}
}

卫生javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//卫生
public class Ws  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//卫生说明
private String content;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

源代码下载点这里

评论