邮件系统

邮件系统登录注册界面

邮件系统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 '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别'
) comment '用户';

表创建语句如下:


create table t_delete(
	id int primary key auto_increment comment '主键',
	emailId varchar(100) comment '',
	title varchar(100) comment '',
	isd int comment ''
) comment '';

广告或敏感词汇表创建语句如下:


create table t_ggc(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '广告词语'
) comment '广告或敏感词汇';

管理员表创建语句如下:


create table t_gly(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	glyName varchar(100) comment '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别'
) comment '管理员';

黑名单表创建语句如下:


create table t_hmd(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '姓名',
	email varchar(100) comment '邮件地址'
) comment '黑名单';

邮件接收表创建语句如下:


create table t_mail_recive(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '发件人',
	v2 varchar(100) comment '标题',
	v3 varchar(100) comment '内容',
	v4 varchar(100) comment '发送时间',
	v5 varchar(100) comment '附件名称',
	v6 varchar(100) comment '附件地址',
	status int comment '状态',
	emailId varchar(100) comment '',
	isd int comment ''
) comment '邮件接收';

邮件发送表创建语句如下:


create table t_mail_send(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '收件人',
	v2 varchar(100) comment '标题',
	v3 varchar(100) comment '内容',
	v4 varchar(100) comment '发送时间',
	v5 varchar(100) comment '附件名称',
	v6 varchar(100) comment '附件地址',
	status int comment '状态'
) comment '邮件发送';

配置表创建语句如下:


create table t_pz(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '第三方邮件名称',
	v2 varchar(100) comment 'host',
	v3 varchar(100) comment 'pop3'
) comment '配置';

通讯录表创建语句如下:


create table t_txl(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '姓名',
	email varchar(100) 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),
	customerName varchar(100),
	phone varchar(100),
	age varchar(100),
	sex 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.customerName is '姓名';
comment on column t_customer.phone is '电话';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '性别';
--用户表加注释
comment on table t_customer is '用户';

表创建语句如下:


create table t_delete(
	id integer,
	emailId varchar(100),
	title varchar(100),
	isd int
);
--字段加注释
comment on column t_delete.id is '主键';
comment on column t_delete.emailId is '';
comment on column t_delete.title is '';
comment on column t_delete.isd is '';
--表加注释
comment on table t_delete is '';

广告或敏感词汇表创建语句如下:


create table t_ggc(
	id integer,
	username varchar(100)
);
--广告或敏感词汇字段加注释
comment on column t_ggc.id is '主键';
comment on column t_ggc.username is '广告词语';
--广告或敏感词汇表加注释
comment on table t_ggc is '广告或敏感词汇';

管理员表创建语句如下:


create table t_gly(
	id integer,
	username varchar(100),
	password varchar(100),
	glyName varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100)
);
--管理员字段加注释
comment on column t_gly.id is '主键';
comment on column t_gly.username is '账号';
comment on column t_gly.password is '密码';
comment on column t_gly.glyName is '姓名';
comment on column t_gly.phone is '电话';
comment on column t_gly.age is '年龄';
comment on column t_gly.sex is '性别';
--管理员表加注释
comment on table t_gly is '管理员';

黑名单表创建语句如下:


create table t_hmd(
	id integer,
	username varchar(100),
	email varchar(100)
);
--黑名单字段加注释
comment on column t_hmd.id is '主键';
comment on column t_hmd.username is '姓名';
comment on column t_hmd.email is '邮件地址';
--黑名单表加注释
comment on table t_hmd is '黑名单';

邮件接收表创建语句如下:


create table t_mail_recive(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	status int,
	emailId varchar(100),
	isd int
);
--邮件接收字段加注释
comment on column t_mail_recive.id is '主键';
comment on column t_mail_recive.v1 is '发件人';
comment on column t_mail_recive.v2 is '标题';
comment on column t_mail_recive.v3 is '内容';
comment on column t_mail_recive.v4 is '发送时间';
comment on column t_mail_recive.v5 is '附件名称';
comment on column t_mail_recive.v6 is '附件地址';
comment on column t_mail_recive.status is '状态';
comment on column t_mail_recive.emailId is '';
comment on column t_mail_recive.isd is '';
--邮件接收表加注释
comment on table t_mail_recive is '邮件接收';

邮件发送表创建语句如下:


create table t_mail_send(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	status int
);
--邮件发送字段加注释
comment on column t_mail_send.id is '主键';
comment on column t_mail_send.v1 is '收件人';
comment on column t_mail_send.v2 is '标题';
comment on column t_mail_send.v3 is '内容';
comment on column t_mail_send.v4 is '发送时间';
comment on column t_mail_send.v5 is '附件名称';
comment on column t_mail_send.v6 is '附件地址';
comment on column t_mail_send.status is '状态';
--邮件发送表加注释
comment on table t_mail_send is '邮件发送';

配置表创建语句如下:


create table t_pz(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100)
);
--配置字段加注释
comment on column t_pz.id is '主键';
comment on column t_pz.v1 is '第三方邮件名称';
comment on column t_pz.v2 is 'host';
comment on column t_pz.v3 is 'pop3';
--配置表加注释
comment on table t_pz is '配置';

通讯录表创建语句如下:


create table t_txl(
	id integer,
	username varchar(100),
	email varchar(100)
);
--通讯录字段加注释
comment on column t_txl.id is '主键';
comment on column t_txl.username is '姓名';
comment on column t_txl.email is '邮件地址';
--通讯录表加注释
comment on table t_txl is '通讯录';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_delete;
create sequence s_t_ggc;
create sequence s_t_gly;
create sequence s_t_hmd;
create sequence s_t_mail_recive;
create sequence s_t_mail_send;
create sequence s_t_pz;
create sequence s_t_txl;

邮件系统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),--姓名
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100)--性别
);

表创建语句如下:


--表注释
create table t_delete(
	id int identity(1,1) primary key not null,--主键
	emailId varchar(100),--
	title varchar(100),--
	isd int--
);

广告或敏感词汇表创建语句如下:


--广告或敏感词汇表注释
create table t_ggc(
	id int identity(1,1) primary key not null,--主键
	username varchar(100)--广告词语
);

管理员表创建语句如下:


--管理员表注释
create table t_gly(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	glyName varchar(100),--姓名
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100)--性别
);

黑名单表创建语句如下:


--黑名单表注释
create table t_hmd(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--姓名
	email varchar(100)--邮件地址
);

邮件接收表创建语句如下:


--邮件接收表注释
create table t_mail_recive(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--发件人
	v2 varchar(100),--标题
	v3 varchar(100),--内容
	v4 varchar(100),--发送时间
	v5 varchar(100),--附件名称
	v6 varchar(100),--附件地址
	status int,--状态
	emailId varchar(100),--
	isd int--
);

邮件发送表创建语句如下:


--邮件发送表注释
create table t_mail_send(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--收件人
	v2 varchar(100),--标题
	v3 varchar(100),--内容
	v4 varchar(100),--发送时间
	v5 varchar(100),--附件名称
	v6 varchar(100),--附件地址
	status int--状态
);

配置表创建语句如下:


--配置表注释
create table t_pz(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--第三方邮件名称
	v2 varchar(100),--host
	v3 varchar(100)--pop3
);

通讯录表创建语句如下:


--通讯录表注释
create table t_txl(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--姓名
	email varchar(100)--邮件地址
);

邮件系统登录后主页

邮件系统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 phone;
//年龄
private String age;
//性别
private String sex;
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 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;}
}

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_delete")
public class Delete {
//主键
@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 emailId;
//
private String title;
//
private Integer isd;
public String getEmailId() {return emailId;}
public void setEmailId(String emailId) {this.emailId = emailId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public Integer getIsd() {return isd;}
public void setIsd(Integer isd) {this.isd = isd;}
}

广告或敏感词汇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_ggc")
public class Ggc {
//主键
@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;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
}

管理员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_gly")
public class Gly {
//主键
@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 glyName;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
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 getGlyName() {return glyName;}
public void setGlyName(String glyName) {this.glyName = glyName;}
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;}
}

黑名单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_hmd")
public class Hmd {
//主键
@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 email;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
}

邮件接收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_mail_recive")
public class Mail_recive {
//主键
@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 v1;
//标题
private String v2;
//内容
private String v3;
//发送时间
private String v4;
//附件名称
private String v5;
//附件地址
private String v6;
//状态
private Integer status;
//
private String emailId;
//
private Integer isd;
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;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public Integer getStatus() {return status;}
public void setStatus(Integer status) {this.status = status;}
public String getEmailId() {return emailId;}
public void setEmailId(String emailId) {this.emailId = emailId;}
public Integer getIsd() {return isd;}
public void setIsd(Integer isd) {this.isd = isd;}
}

邮件发送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_mail_send")
public class Mail_send {
//主键
@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 v1;
//标题
private String v2;
//内容
private String v3;
//发送时间
private String v4;
//附件名称
private String v5;
//附件地址
private String v6;
//状态
private Integer status;
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;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public Integer getStatus() {return status;}
public void setStatus(Integer 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_pz")
public class Pz {
//主键
@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 v1;
//host
private String v2;
//pop3
private String v3;
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;}
}

通讯录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_txl")
public class Txl {
//主键
@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 email;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
}

邮件系统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 phone;
//年龄
private String age;
//性别
private String sex;
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 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;}
}

javaBean创建语句如下:


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

//
public class Delete  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//
private String emailId;
//
private String title;
//
private Integer isd;
public String getEmailId() {return emailId;}
public void setEmailId(String emailId) {this.emailId = emailId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public Integer getIsd() {return isd;}
public void setIsd(Integer isd) {this.isd = isd;}
}

广告或敏感词汇javaBean创建语句如下:


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

//广告或敏感词汇
public class Ggc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//广告词语
private String username;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
}

管理员javaBean创建语句如下:


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

//管理员
public class Gly  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 glyName;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
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 getGlyName() {return glyName;}
public void setGlyName(String glyName) {this.glyName = glyName;}
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;}
}

黑名单javaBean创建语句如下:


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

//黑名单
public class Hmd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String username;
//邮件地址
private String email;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
}

邮件接收javaBean创建语句如下:


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

//邮件接收
public class Mail_recive  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//发件人
private String v1;
//标题
private String v2;
//内容
private String v3;
//发送时间
private String v4;
//附件名称
private String v5;
//附件地址
private String v6;
//状态
private Integer status;
//
private String emailId;
//
private Integer isd;
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;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public Integer getStatus() {return status;}
public void setStatus(Integer status) {this.status = status;}
public String getEmailId() {return emailId;}
public void setEmailId(String emailId) {this.emailId = emailId;}
public Integer getIsd() {return isd;}
public void setIsd(Integer isd) {this.isd = isd;}
}

邮件发送javaBean创建语句如下:


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

//邮件发送
public class Mail_send  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//收件人
private String v1;
//标题
private String v2;
//内容
private String v3;
//发送时间
private String v4;
//附件名称
private String v5;
//附件地址
private String v6;
//状态
private Integer status;
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;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public Integer getStatus() {return status;}
public void setStatus(Integer status) {this.status = status;}
}

配置javaBean创建语句如下:


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

//配置
public class Pz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//第三方邮件名称
private String v1;
//host
private String v2;
//pop3
private String v3;
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;}
}

通讯录javaBean创建语句如下:


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

//通讯录
public class Txl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String username;
//邮件地址
private String email;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
}

评论