基于JSP项目任务系统的设计与实现

基于JSP项目任务系统的设计与实现登录注册界面

基于JSP项目任务系统的设计与实现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 '密码',
	customerName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	yhzId int comment '用户组',
	jueseId int comment '角色'
) comment '用户';

角色表创建语句如下:


create table t_juese(
	id int primary key auto_increment comment '主键',
	jueseName varchar(100) comment '角色',
	v1 varchar(100) comment '任务管理',
	v2 varchar(100) comment '任务日志',
	v3 varchar(100) comment '过程数据',
	v4 varchar(100) comment '任务评论'
) comment '角色';

任务表创建语句如下:


create table t_rw(
	id int primary key auto_increment comment '主键',
	customerId int comment '任务负责人',
	rwName varchar(100) comment '任务名称',
	v1 varchar(100) comment '任务内容',
	yhzId int comment '用户组',
	insertDate datetime comment '创建日期'
) comment '任务';

任务描述表创建语句如下:


create table t_rwms(
	id int primary key auto_increment comment '主键',
	rwId int comment '任务',
	v1 varchar(100) comment '任务描述',
	insertDate datetime comment '日期'
) comment '任务描述';

任务评论表创建语句如下:


create table t_rwpl(
	id int primary key auto_increment comment '主键',
	customerId int comment '评论人',
	rwId int comment '任务',
	v2 varchar(100) comment '评论内容',
	insertDate datetime comment '日期'
) comment '任务评论';

任务日志表创建语句如下:


create table t_rwrz(
	id int primary key auto_increment comment '主键',
	rwId int comment '任务',
	v1 varchar(100) comment '日志标题',
	v2 varchar(100) comment '日志内容',
	insertDate datetime comment '日期'
) comment '任务日志';

任务数据表创建语句如下:


create table t_rwsj(
	id int primary key auto_increment comment '主键',
	rwId int comment '任务',
	v1 varchar(100) comment '数据标题',
	v2 varchar(100) comment '数据内容',
	v3 varchar(100) comment '文件',
	insertDate datetime comment '日期'
) comment '任务数据';

用户组表创建语句如下:


create table t_yhz(
	id int primary key auto_increment comment '主键',
	yhzName varchar(100) comment '用户组'
) comment '用户组';

基于JSP项目任务系统的设计与实现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),
	customerName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	yhzId int,
	jueseId int
);
--用户字段加注释
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.customerName is '姓名';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '性别';
comment on column t_customer.phone is '电话';
comment on column t_customer.yhzId is '用户组';
comment on column t_customer.jueseId is '角色';
--用户表加注释
comment on table t_customer is '用户';

角色表创建语句如下:


create table t_juese(
	id integer,
	jueseName varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--角色字段加注释
comment on column t_juese.id is '主键';
comment on column t_juese.jueseName is '角色';
comment on column t_juese.v1 is '任务管理';
comment on column t_juese.v2 is '任务日志';
comment on column t_juese.v3 is '过程数据';
comment on column t_juese.v4 is '任务评论';
--角色表加注释
comment on table t_juese is '角色';

任务表创建语句如下:


create table t_rw(
	id integer,
	customerId int,
	rwName varchar(100),
	v1 varchar(100),
	yhzId int,
	insertDate datetime
);
--任务字段加注释
comment on column t_rw.id is '主键';
comment on column t_rw.customerId is '任务负责人';
comment on column t_rw.rwName is '任务名称';
comment on column t_rw.v1 is '任务内容';
comment on column t_rw.yhzId is '用户组';
comment on column t_rw.insertDate is '创建日期';
--任务表加注释
comment on table t_rw is '任务';

任务描述表创建语句如下:


create table t_rwms(
	id integer,
	rwId int,
	v1 varchar(100),
	insertDate datetime
);
--任务描述字段加注释
comment on column t_rwms.id is '主键';
comment on column t_rwms.rwId is '任务';
comment on column t_rwms.v1 is '任务描述';
comment on column t_rwms.insertDate is '日期';
--任务描述表加注释
comment on table t_rwms is '任务描述';

任务评论表创建语句如下:


create table t_rwpl(
	id integer,
	customerId int,
	rwId int,
	v2 varchar(100),
	insertDate datetime
);
--任务评论字段加注释
comment on column t_rwpl.id is '主键';
comment on column t_rwpl.customerId is '评论人';
comment on column t_rwpl.rwId is '任务';
comment on column t_rwpl.v2 is '评论内容';
comment on column t_rwpl.insertDate is '日期';
--任务评论表加注释
comment on table t_rwpl is '任务评论';

任务日志表创建语句如下:


create table t_rwrz(
	id integer,
	rwId int,
	v1 varchar(100),
	v2 varchar(100),
	insertDate datetime
);
--任务日志字段加注释
comment on column t_rwrz.id is '主键';
comment on column t_rwrz.rwId is '任务';
comment on column t_rwrz.v1 is '日志标题';
comment on column t_rwrz.v2 is '日志内容';
comment on column t_rwrz.insertDate is '日期';
--任务日志表加注释
comment on table t_rwrz is '任务日志';

任务数据表创建语句如下:


create table t_rwsj(
	id integer,
	rwId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	insertDate datetime
);
--任务数据字段加注释
comment on column t_rwsj.id is '主键';
comment on column t_rwsj.rwId is '任务';
comment on column t_rwsj.v1 is '数据标题';
comment on column t_rwsj.v2 is '数据内容';
comment on column t_rwsj.v3 is '文件';
comment on column t_rwsj.insertDate is '日期';
--任务数据表加注释
comment on table t_rwsj is '任务数据';

用户组表创建语句如下:


create table t_yhz(
	id integer,
	yhzName varchar(100)
);
--用户组字段加注释
comment on column t_yhz.id is '主键';
comment on column t_yhz.yhzName is '用户组';
--用户组表加注释
comment on table t_yhz is '用户组';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_juese;
create sequence s_t_rw;
create sequence s_t_rwms;
create sequence s_t_rwpl;
create sequence s_t_rwrz;
create sequence s_t_rwsj;
create sequence s_t_yhz;

基于JSP项目任务系统的设计与实现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),--密码
	customerName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	yhzId int,--用户组
	jueseId int--角色
);

角色表创建语句如下:


--角色表注释
create table t_juese(
	id int identity(1,1) primary key not null,--主键
	jueseName varchar(100),--角色
	v1 varchar(100),--任务管理
	v2 varchar(100),--任务日志
	v3 varchar(100),--过程数据
	v4 varchar(100)--任务评论
);

任务表创建语句如下:


--任务表注释
create table t_rw(
	id int identity(1,1) primary key not null,--主键
	customerId int,--任务负责人
	rwName varchar(100),--任务名称
	v1 varchar(100),--任务内容
	yhzId int,--用户组
	insertDate datetime--创建日期
);

任务描述表创建语句如下:


--任务描述表注释
create table t_rwms(
	id int identity(1,1) primary key not null,--主键
	rwId int,--任务
	v1 varchar(100),--任务描述
	insertDate datetime--日期
);

任务评论表创建语句如下:


--任务评论表注释
create table t_rwpl(
	id int identity(1,1) primary key not null,--主键
	customerId int,--评论人
	rwId int,--任务
	v2 varchar(100),--评论内容
	insertDate datetime--日期
);

任务日志表创建语句如下:


--任务日志表注释
create table t_rwrz(
	id int identity(1,1) primary key not null,--主键
	rwId int,--任务
	v1 varchar(100),--日志标题
	v2 varchar(100),--日志内容
	insertDate datetime--日期
);

任务数据表创建语句如下:


--任务数据表注释
create table t_rwsj(
	id int identity(1,1) primary key not null,--主键
	rwId int,--任务
	v1 varchar(100),--数据标题
	v2 varchar(100),--数据内容
	v3 varchar(100),--文件
	insertDate datetime--日期
);

用户组表创建语句如下:


--用户组表注释
create table t_yhz(
	id int identity(1,1) primary key not null,--主键
	yhzName varchar(100)--用户组
);

基于JSP项目任务系统的设计与实现登录后主页

基于JSP项目任务系统的设计与实现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 customerName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//用户组
private Integer yhzId;
//角色
private Integer jueseId;
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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getYhzId() {return yhzId;}
public void setYhzId(Integer yhzId) {this.yhzId = yhzId;}
public Integer getJueseId() {return jueseId;}
public void setJueseId(Integer jueseId) {this.jueseId = jueseId;}
}

角色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_juese")
public class Juese {
//主键
@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 jueseName;
//任务管理
private String v1;
//任务日志
private String v2;
//过程数据
private String v3;
//任务评论
private String v4;
public String getJueseName() {return jueseName;}
public void setJueseName(String jueseName) {this.jueseName = jueseName;}
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 getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
}

任务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_rw")
public class Rw {
//主键
@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 rwName;
//任务内容
private String v1;
//用户组
private Integer yhzId;
//创建日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getRwName() {return rwName;}
public void setRwName(String rwName) {this.rwName = rwName;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public Integer getYhzId() {return yhzId;}
public void setYhzId(Integer yhzId) {this.yhzId = yhzId;}
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_rwms")
public class Rwms {
//主键
@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 rwId;
//任务描述
private String v1;
//日期
private Date insertDate;
public Integer getRwId() {return rwId;}
public void setRwId(Integer rwId) {this.rwId = rwId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
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_rwpl")
public class Rwpl {
//主键
@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 Integer rwId;
//评论内容
private String v2;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getRwId() {return rwId;}
public void setRwId(Integer rwId) {this.rwId = rwId;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
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_rwrz")
public class Rwrz {
//主键
@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 rwId;
//日志标题
private String v1;
//日志内容
private String v2;
//日期
private Date insertDate;
public Integer getRwId() {return rwId;}
public void setRwId(Integer rwId) {this.rwId = rwId;}
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 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_rwsj")
public class Rwsj {
//主键
@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 rwId;
//数据标题
private String v1;
//数据内容
private String v2;
//文件
private String v3;
//日期
private Date insertDate;
public Integer getRwId() {return rwId;}
public void setRwId(Integer rwId) {this.rwId = rwId;}
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 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_yhz")
public class Yhz {
//主键
@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 yhzName;
public String getYhzName() {return yhzName;}
public void setYhzName(String yhzName) {this.yhzName = yhzName;}
}

基于JSP项目任务系统的设计与实现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 customerName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//用户组
private Integer yhzId;
//角色
private Integer jueseId;
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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getYhzId() {return yhzId;}
public void setYhzId(Integer yhzId) {this.yhzId = yhzId;}
public Integer getJueseId() {return jueseId;}
public void setJueseId(Integer jueseId) {this.jueseId = jueseId;}
}

角色javaBean创建语句如下:


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

//角色
public class Juese  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//角色
private String jueseName;
//任务管理
private String v1;
//任务日志
private String v2;
//过程数据
private String v3;
//任务评论
private String v4;
public String getJueseName() {return jueseName;}
public void setJueseName(String jueseName) {this.jueseName = jueseName;}
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 getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
}

任务javaBean创建语句如下:


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

//任务
public class Rw  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//任务负责人
private Integer customerId;
//任务名称
private String rwName;
//任务内容
private String v1;
//用户组
private Integer yhzId;
//创建日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getRwName() {return rwName;}
public void setRwName(String rwName) {this.rwName = rwName;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public Integer getYhzId() {return yhzId;}
public void setYhzId(Integer yhzId) {this.yhzId = yhzId;}
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 Rwms  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//任务
private Integer rwId;
//任务描述
private String v1;
//日期
private Date insertDate;
public Integer getRwId() {return rwId;}
public void setRwId(Integer rwId) {this.rwId = rwId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
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 Rwpl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//评论人
private Integer customerId;
//任务
private Integer rwId;
//评论内容
private String v2;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getRwId() {return rwId;}
public void setRwId(Integer rwId) {this.rwId = rwId;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
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 Rwrz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//任务
private Integer rwId;
//日志标题
private String v1;
//日志内容
private String v2;
//日期
private Date insertDate;
public Integer getRwId() {return rwId;}
public void setRwId(Integer rwId) {this.rwId = rwId;}
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 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 Rwsj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//任务
private Integer rwId;
//数据标题
private String v1;
//数据内容
private String v2;
//文件
private String v3;
//日期
private Date insertDate;
public Integer getRwId() {return rwId;}
public void setRwId(Integer rwId) {this.rwId = rwId;}
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 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 Yhz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户组
private String yhzName;
public String getYhzName() {return yhzName;}
public void setYhzName(String yhzName) {this.yhzName = yhzName;}
}

评论