龙空技术网

基于Android平台的邮箱客户端的设计与实现

东哥毕业设计 167

前言:

眼前各位老铁们对“通讯录java”可能比较着重,同学们都需要学习一些“通讯录java”的相关文章。那么小编在网摘上搜集了一些对于“通讯录java””的相关知识,希望大家能喜欢,姐妹们一起来了解一下吧!

基于Android平台的邮箱客户端的设计与实现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_address(	id int primary key auto_increment comment '主键',	customerId int comment '用户',	phone varchar(100) comment '电话',	addressVal varchar(100) comment '地址',	addressName varchar(100) comment '姓名',	ismoren varchar(100) comment '是否默认',	province varchar(100) comment '',	city varchar(100) comment '',	area varchar(100) comment '') comment '地址';

表创建语句如下:

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

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

create table t_ggc(	id int primary key auto_increment comment '主键',	username 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 '',	addressName varchar(100) 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_txl(	id int primary key auto_increment comment '主键',	username varchar(100) comment '姓名',	email varchar(100) comment '邮件地址') comment '通讯录';
基于Android平台的邮箱客户端的设计与实现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_address(	id integer,	customerId int,	phone varchar(100),	addressVal varchar(100),	addressName varchar(100),	ismoren varchar(100),	province varchar(100),	city varchar(100),	area varchar(100));--地址字段加注释comment on column t_address.id is '主键';comment on column t_address.customerId is '用户';comment on column t_address.phone is '电话';comment on column t_address.addressVal is '地址';comment on column t_address.addressName is '姓名';comment on column t_address.ismoren is '是否默认';comment on column t_address.province is '';comment on column t_address.city is '';comment on column t_address.area is '';--地址表加注释comment on table t_address is '地址';

表创建语句如下:

create table t_delete(	id integer,	emailId varchar(100),	title varchar(100));--字段加注释comment on column t_delete.id is '主键';comment on column t_delete.emailId is '';comment on column t_delete.title 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_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),	addressName varchar(100));--邮件接收字段加注释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.addressName 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_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_address;create sequence s_t_delete;create sequence s_t_ggc;create sequence s_t_hmd;create sequence s_t_mail_recive;create sequence s_t_mail_send;create sequence s_t_txl;
基于Android平台的邮箱客户端的设计与实现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_address(	id int identity(1,1) primary key not null,--主键	customerId int,--用户	phone varchar(100),--电话	addressVal varchar(100),--地址	addressName varchar(100),--姓名	ismoren varchar(100),--是否默认	province varchar(100),--	city varchar(100),--	area varchar(100)--);

表创建语句如下:

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

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

--广告或敏感词汇表注释create table t_ggc(	id int identity(1,1) primary key not null,--主键	username 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),--	addressName varchar(100)--);

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

--邮件发送表注释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_txl(	id int identity(1,1) primary key not null,--主键	username varchar(100),--姓名	email varchar(100)--邮件地址);
基于Android平台的邮箱客户端的设计与实现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_address")public class Address {//主键@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 addressVal;//姓名private String addressName;//是否默认private String ismoren;//private String province;//private String city;//private String area;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 getAddressVal() {return addressVal;}public void setAddressVal(String addressVal) {this.addressVal = addressVal;}public String getAddressName() {return addressName;}public void setAddressName(String addressName) {this.addressName = addressName;}public String getIsmoren() {return ismoren;}public void setIsmoren(String ismoren) {this.ismoren = ismoren;}public String getProvince() {return province;}public void setProvince(String province) {this.province = province;}public String getCity() {return city;}public void setCity(String city) {this.city = city;}public String getArea() {return area;}public void setArea(String area) {this.area = area;}}

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;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;}}

广告或敏感词汇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_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 String addressName;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 String getAddressName() {return addressName;}public void setAddressName(String addressName) {this.addressName = addressName;}}

邮件发送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_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;}}

标签: #通讯录java