java毕业设计_宠物医院

眉间皱痕 提交于 2020-02-26 23:21:37

在这里插入图片描述
宠物医院管理系统mysql数据库创建语句
宠物医院管理系统oracle数据库创建语句
宠物医院管理系统sqlserver数据库创建语句
宠物医院管理系统spring+springMVC+hibernate框架对象(javaBean,pojo)设计
宠物医院管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计
宠物医院管理系统登录注册界面
宠物医院管理系统mysql数据库版本源码:
超级管理员表创建语句如下:

create table t_admin(
id int primary key auto_increment comment ‘主键’,
username varchar(100) comment ‘超级管理员账号’,
password varchar(100) comment ‘超级管理员密码’
) comment ‘超级管理员’;
insert into t_admin(username,password) values(‘admin’,‘123456’);
SQLCopy
处方单表创建语句如下:

create table t_cfd(
id int primary key auto_increment comment ‘主键’,
customerId int comment ‘医生’,
ghdName varchar(100) comment ‘挂号单编号’,
cfdName varchar(100) comment ‘处方单编号’,
content varchar(100) comment ‘处方单详细’,
insertDate datetime comment ‘日期’,
status varchar(100) comment ‘状态’
) comment ‘处方单’;
SQLCopy
宠物医生表创建语句如下:

create table t_customer(
id int primary key auto_increment comment ‘主键’,
username varchar(100) comment ‘账号’,
password varchar(100) comment ‘密码’,
customerName varchar(100) comment ‘姓名’,
headPic varchar(100) comment ‘头像’,
email varchar(100) comment ‘邮箱’,
phone varchar(100) comment ‘电话’,
zz varchar(100) comment ‘职称’
) comment ‘宠物医生’;
SQLCopy
公告表创建语句如下:

create table t_gg(
id int primary key auto_increment comment ‘主键’,
v1 varchar(100) comment ‘标题’,
showDate datetime comment ‘日期’,
v3 varchar(100) comment ‘内容’
) comment ‘公告’;
SQLCopy
挂号单表创建语句如下:

create table t_ghd(
id int primary key auto_increment comment ‘主键’,
ptadminId int comment ‘服务员’,
ghdName varchar(100) comment ‘挂号单编号’,
v1 varchar(100) comment ‘年龄’,
v2 varchar(100) comment ‘性别’,
v3 varchar(100) comment ‘宠物种类’,
v4 varchar(100) comment ‘类型’,
v5 varchar(100) comment ‘病状描述’,
v6 datetime comment ‘日期’,
v7 varchar(100) comment ‘宠物主姓名’,
v8 varchar(100) comment ‘联系电话’,
status varchar(100) comment ‘状态’
) comment ‘挂号单’;
SQLCopy
开药单表创建语句如下:

create table t_kyd(
id int primary key auto_increment comment ‘主键’,
ptadminId int comment ‘服务员’,
ghdName varchar(100) comment ‘挂号单编号’,
cfdName varchar(100) comment ‘处方单编号’,
kydName varchar(100) comment ‘处方单编号’,
v7 varchar(100) comment ‘宠物主姓名’,
v8 varchar(100) comment ‘联系电话’,
fee int comment ‘总金额’,
insertDate datetime comment ‘日期’
) comment ‘开药单’;
SQLCopy
开药单列表表创建语句如下:

create table t_kydlist(
id int primary key auto_increment comment ‘主键’,
kydId int comment ‘开药单’,
yaopinId int comment ‘药品’,
sl int comment ‘数量’,
dj int comment ‘’
) comment ‘开药单列表’;
SQLCopy
服务员表创建语句如下:

create table t_ptadmin(
id int primary key auto_increment comment ‘主键’,
username varchar(100) comment ‘账号’,
password varchar(100) comment ‘密码’,
ptadminName varchar(100) comment ‘姓名’,
email varchar(100) comment ‘邮箱’,
phone varchar(100) comment ‘电话’
) comment ‘服务员’;
SQLCopy
药品表创建语句如下:

create table t_yaopin(
id int primary key auto_increment comment ‘主键’,
yaopinName varchar(100) comment ‘药品名称’,
kc int comment ‘库存’,
fee int comment ‘单价’,
zy varchar(100) comment ‘作用’
) comment ‘药品’;
SQLCopy
宠物医院管理系统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 ‘超级管理员’;
SQLCopy
处方单表创建语句如下:

create table t_cfd(
id integer,
customerId int,
ghdName varchar(100),
cfdName varchar(100),
content varchar(100),
insertDate datetime,
status varchar(100)
);
–处方单字段加注释
comment on column t_cfd.id is ‘主键’;
comment on column t_cfd.customerId is ‘医生’;
comment on column t_cfd.ghdName is ‘挂号单编号’;
comment on column t_cfd.cfdName is ‘处方单编号’;
comment on column t_cfd.content is ‘处方单详细’;
comment on column t_cfd.insertDate is ‘日期’;
comment on column t_cfd.status is ‘状态’;
–处方单表加注释
comment on table t_cfd is ‘处方单’;
SQLCopy
宠物医生表创建语句如下:

create table t_customer(
id integer,
username varchar(100),
password varchar(100),
customerName varchar(100),
headPic varchar(100),
email varchar(100),
phone varchar(100),
zz 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.headPic is ‘头像’;
comment on column t_customer.email is ‘邮箱’;
comment on column t_customer.phone is ‘电话’;
comment on column t_customer.zz is ‘职称’;
–宠物医生表加注释
comment on table t_customer is ‘宠物医生’;
SQLCopy
公告表创建语句如下:

create table t_gg(
id integer,
v1 varchar(100),
showDate datetime,
v3 varchar(100)
);
–公告字段加注释
comment on column t_gg.id is ‘主键’;
comment on column t_gg.v1 is ‘标题’;
comment on column t_gg.showDate is ‘日期’;
comment on column t_gg.v3 is ‘内容’;
–公告表加注释
comment on table t_gg is ‘公告’;
SQLCopy
挂号单表创建语句如下:

create table t_ghd(
id integer,
ptadminId int,
ghdName varchar(100),
v1 varchar(100),
v2 varchar(100),
v3 varchar(100),
v4 varchar(100),
v5 varchar(100),
v6 datetime,
v7 varchar(100),
v8 varchar(100),
status varchar(100)
);
–挂号单字段加注释
comment on column t_ghd.id is ‘主键’;
comment on column t_ghd.ptadminId is ‘服务员’;
comment on column t_ghd.ghdName is ‘挂号单编号’;
comment on column t_ghd.v1 is ‘年龄’;
comment on column t_ghd.v2 is ‘性别’;
comment on column t_ghd.v3 is ‘宠物种类’;
comment on column t_ghd.v4 is ‘类型’;
comment on column t_ghd.v5 is ‘病状描述’;
comment on column t_ghd.v6 is ‘日期’;
comment on column t_ghd.v7 is ‘宠物主姓名’;
comment on column t_ghd.v8 is ‘联系电话’;
comment on column t_ghd.status is ‘状态’;
–挂号单表加注释
comment on table t_ghd is ‘挂号单’;
SQLCopy
开药单表创建语句如下:

create table t_kyd(
id integer,
ptadminId int,
ghdName varchar(100),
cfdName varchar(100),
kydName varchar(100),
v7 varchar(100),
v8 varchar(100),
fee int,
insertDate datetime
);
–开药单字段加注释
comment on column t_kyd.id is ‘主键’;
comment on column t_kyd.ptadminId is ‘服务员’;
comment on column t_kyd.ghdName is ‘挂号单编号’;
comment on column t_kyd.cfdName is ‘处方单编号’;
comment on column t_kyd.kydName is ‘处方单编号’;
comment on column t_kyd.v7 is ‘宠物主姓名’;
comment on column t_kyd.v8 is ‘联系电话’;
comment on column t_kyd.fee is ‘总金额’;
comment on column t_kyd.insertDate is ‘日期’;
–开药单表加注释
comment on table t_kyd is ‘开药单’;
SQLCopy
开药单列表表创建语句如下:

create table t_kydlist(
id integer,
kydId int,
yaopinId int,
sl int,
dj int
);
–开药单列表字段加注释
comment on column t_kydlist.id is ‘主键’;
comment on column t_kydlist.kydId is ‘开药单’;
comment on column t_kydlist.yaopinId is ‘药品’;
comment on column t_kydlist.sl is ‘数量’;
comment on column t_kydlist.dj is ‘’;
–开药单列表表加注释
comment on table t_kydlist is ‘开药单列表’;
SQLCopy
服务员表创建语句如下:

create table t_ptadmin(
id integer,
username varchar(100),
password varchar(100),
ptadminName varchar(100),
email varchar(100),
phone varchar(100)
);
–服务员字段加注释
comment on column t_ptadmin.id is ‘主键’;
comment on column t_ptadmin.username is ‘账号’;
comment on column t_ptadmin.password is ‘密码’;
comment on column t_ptadmin.ptadminName is ‘姓名’;
comment on column t_ptadmin.email is ‘邮箱’;
comment on column t_ptadmin.phone is ‘电话’;
–服务员表加注释
comment on table t_ptadmin is ‘服务员’;
SQLCopy
药品表创建语句如下:

create table t_yaopin(
id integer,
yaopinName varchar(100),
kc int,
fee int,
zy varchar(100)
);
–药品字段加注释
comment on column t_yaopin.id is ‘主键’;
comment on column t_yaopin.yaopinName is ‘药品名称’;
comment on column t_yaopin.kc is ‘库存’;
comment on column t_yaopin.fee is ‘单价’;
comment on column t_yaopin.zy is ‘作用’;
–药品表加注释
comment on table t_yaopin is ‘药品’;
SQLCopy
oracle特有,对应序列如下:

create sequence s_t_cfd;
create sequence s_t_customer;
create sequence s_t_gg;
create sequence s_t_ghd;
create sequence s_t_kyd;
create sequence s_t_kydlist;
create sequence s_t_ptadmin;
create sequence s_t_yaopin;
SQLCopy
宠物医院管理系统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’);
SQLCopy
处方单表创建语句如下:

–处方单表注释
create table t_cfd(
id int identity(1,1) primary key not null,–主键
customerId int,–医生
ghdName varchar(100),–挂号单编号
cfdName varchar(100),–处方单编号
content varchar(100),–处方单详细
insertDate datetime,–日期
status varchar(100)–状态
);
SQLCopy
宠物医生表创建语句如下:

–宠物医生表注释
create table t_customer(
id int identity(1,1) primary key not null,–主键
username varchar(100),–账号
password varchar(100),–密码
customerName varchar(100),–姓名
headPic varchar(100),–头像
email varchar(100),–邮箱
phone varchar(100),–电话
zz varchar(100)–职称
);
SQLCopy
公告表创建语句如下:

–公告表注释
create table t_gg(
id int identity(1,1) primary key not null,–主键
v1 varchar(100),–标题
showDate datetime,–日期
v3 varchar(100)–内容
);
SQLCopy
挂号单表创建语句如下:

–挂号单表注释
create table t_ghd(
id int identity(1,1) primary key not null,–主键
ptadminId int,–服务员
ghdName varchar(100),–挂号单编号
v1 varchar(100),–年龄
v2 varchar(100),–性别
v3 varchar(100),–宠物种类
v4 varchar(100),–类型
v5 varchar(100),–病状描述
v6 datetime,–日期
v7 varchar(100),–宠物主姓名
v8 varchar(100),–联系电话
status varchar(100)–状态
);
SQLCopy
开药单表创建语句如下:

–开药单表注释
create table t_kyd(
id int identity(1,1) primary key not null,–主键
ptadminId int,–服务员
ghdName varchar(100),–挂号单编号
cfdName varchar(100),–处方单编号
kydName varchar(100),–处方单编号
v7 varchar(100),–宠物主姓名
v8 varchar(100),–联系电话
fee int,–总金额
insertDate datetime–日期
);
SQLCopy
开药单列表表创建语句如下:

–开药单列表表注释
create table t_kydlist(
id int identity(1,1) primary key not null,–主键
kydId int,–开药单
yaopinId int,–药品
sl int,–数量
dj int–
);
SQLCopy
服务员表创建语句如下:

–服务员表注释
create table t_ptadmin(
id int identity(1,1) primary key not null,–主键
username varchar(100),–账号
password varchar(100),–密码
ptadminName varchar(100),–姓名
email varchar(100),–邮箱
phone varchar(100)–电话
);
SQLCopy
药品表创建语句如下:

–药品表注释
create table t_yaopin(
id int identity(1,1) primary key not null,–主键
yaopinName varchar(100),–药品名称
kc int,–库存
fee int,–单价
zy varchar(100)–作用
);
SQLCopy
宠物医院管理系统登录后主页
宠物医院管理系统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_cfd”)
public class Cfd {
//主键
@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 ghdName;
//处方单编号
private String cfdName;
//处方单详细
private String content;
//日期
private Date insertDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getGhdName() {return ghdName;}
public void setGhdName(String ghdName) {this.ghdName = ghdName;}
public String getCfdName() {return cfdName;}
public void setCfdName(String cfdName) {this.cfdName = cfdName;}
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;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
JavaCopy
宠物医生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 headPic;
//邮箱
private String email;
//电话
private String phone;
//职称
private String zz;
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 getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getZz() {return zz;}
public void setZz(String zz) {this.zz = zz;}
}
JavaCopy
公告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_gg”)
public class Gg {
//主键
@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 Date showDate;
//内容
private String v3;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
}
JavaCopy
挂号单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_ghd”)
public class Ghd {
//主键
@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 ptadminId;
//挂号单编号
private String ghdName;
//年龄
private String v1;
//性别
private String v2;
//宠物种类
private String v3;
//类型
private String v4;
//病状描述
private String v5;
//日期
private Date v6;
//宠物主姓名
private String v7;
//联系电话
private String v8;
//状态
private String status;
public Integer getPtadminId() {return ptadminId;}
public void setPtadminId(Integer ptadminId) {this.ptadminId = ptadminId;}
public String getGhdName() {return ghdName;}
public void setGhdName(String ghdName) {this.ghdName = ghdName;}
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 Date getV6() {return v6;}
public void setV6(Date v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
JavaCopy
开药单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_kyd”)
public class Kyd {
//主键
@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 ptadminId;
//挂号单编号
private String ghdName;
//处方单编号
private String cfdName;
//处方单编号
private String kydName;
//宠物主姓名
private String v7;
//联系电话
private String v8;
//总金额
private Integer fee;
//日期
private Date insertDate;
public Integer getPtadminId() {return ptadminId;}
public void setPtadminId(Integer ptadminId) {this.ptadminId = ptadminId;}
public String getGhdName() {return ghdName;}
public void setGhdName(String ghdName) {this.ghdName = ghdName;}
public String getCfdName() {return cfdName;}
public void setCfdName(String cfdName) {this.cfdName = cfdName;}
public String getKydName() {return kydName;}
public void setKydName(String kydName) {this.kydName = kydName;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
JavaCopy
开药单列表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_kydlist”)
public class Kydlist {
//主键
@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 kydId;
//药品
private Integer yaopinId;
//数量
private Integer sl;
//
private Integer dj;
public Integer getKydId() {return kydId;}
public void setKydId(Integer kydId) {this.kydId = kydId;}
public Integer getYaopinId() {return yaopinId;}
public void setYaopinId(Integer yaopinId) {this.yaopinId = yaopinId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getDj() {return dj;}
public void setDj(Integer dj) {this.dj = dj;}
}
JavaCopy
服务员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_ptadmin”)
public class Ptadmin {
//主键
@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 ptadminName;
//邮箱
private String email;
//电话
private String phone;
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 getPtadminName() {return ptadminName;}
public void setPtadminName(String ptadminName) {this.ptadminName = ptadminName;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}
JavaCopy
药品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_yaopin”)
public class Yaopin {
//主键
@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 yaopinName;
//库存
private Integer kc;
//单价
private Integer fee;
//作用
private String zy;
public String getYaopinName() {return yaopinName;}
public void setYaopinName(String yaopinName) {this.yaopinName = yaopinName;}
public Integer getKc() {return kc;}
public void setKc(Integer kc) {this.kc = kc;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getZy() {return zy;}
public void setZy(String zy) {this.zy = zy;}
}
JavaCopy
宠物医院管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:
处方单javaBean创建语句如下:

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

//处方单
public class Cfd extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//医生
private Integer customerId;
//挂号单编号
private String ghdName;
//处方单编号
private String cfdName;
//处方单详细
private String content;
//日期
private Date insertDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getGhdName() {return ghdName;}
public void setGhdName(String ghdName) {this.ghdName = ghdName;}
public String getCfdName() {return cfdName;}
public void setCfdName(String cfdName) {this.cfdName = cfdName;}
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;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
JavaCopy
宠物医生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 headPic;
//邮箱
private String email;
//电话
private String phone;
//职称
private String zz;
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 getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getZz() {return zz;}
public void setZz(String zz) {this.zz = zz;}
}
JavaCopy
公告javaBean创建语句如下:

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

//公告
public class Gg extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String v1;
//日期
private Date showDate;
//内容
private String v3;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
}
JavaCopy
挂号单javaBean创建语句如下:

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

//挂号单
public class Ghd extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//服务员
private Integer ptadminId;
//挂号单编号
private String ghdName;
//年龄
private String v1;
//性别
private String v2;
//宠物种类
private String v3;
//类型
private String v4;
//病状描述
private String v5;
//日期
private Date v6;
//宠物主姓名
private String v7;
//联系电话
private String v8;
//状态
private String status;
public Integer getPtadminId() {return ptadminId;}
public void setPtadminId(Integer ptadminId) {this.ptadminId = ptadminId;}
public String getGhdName() {return ghdName;}
public void setGhdName(String ghdName) {this.ghdName = ghdName;}
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 Date getV6() {return v6;}
public void setV6(Date v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
JavaCopy
开药单javaBean创建语句如下:

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

//开药单
public class Kyd extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//服务员
private Integer ptadminId;
//挂号单编号
private String ghdName;
//处方单编号
private String cfdName;
//处方单编号
private String kydName;
//宠物主姓名
private String v7;
//联系电话
private String v8;
//总金额
private Integer fee;
//日期
private Date insertDate;
public Integer getPtadminId() {return ptadminId;}
public void setPtadminId(Integer ptadminId) {this.ptadminId = ptadminId;}
public String getGhdName() {return ghdName;}
public void setGhdName(String ghdName) {this.ghdName = ghdName;}
public String getCfdName() {return cfdName;}
public void setCfdName(String cfdName) {this.cfdName = cfdName;}
public String getKydName() {return kydName;}
public void setKydName(String kydName) {this.kydName = kydName;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
JavaCopy
开药单列表javaBean创建语句如下:

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

//开药单列表
public class Kydlist extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//开药单
private Integer kydId;
//药品
private Integer yaopinId;
//数量
private Integer sl;
//
private Integer dj;
public Integer getKydId() {return kydId;}
public void setKydId(Integer kydId) {this.kydId = kydId;}
public Integer getYaopinId() {return yaopinId;}
public void setYaopinId(Integer yaopinId) {this.yaopinId = yaopinId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getDj() {return dj;}
public void setDj(Integer dj) {this.dj = dj;}
}
JavaCopy
服务员javaBean创建语句如下:

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

//服务员
public class Ptadmin 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 ptadminName;
//邮箱
private String email;
//电话
private String phone;
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 getPtadminName() {return ptadminName;}
public void setPtadminName(String ptadminName) {this.ptadminName = ptadminName;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}
JavaCopy
药品javaBean创建语句如下:

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

//药品
public class Yaopin extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//药品名称
private String yaopinName;
//库存
private Integer kc;
//单价
private Integer fee;
//作用
private String zy;
public String getYaopinName() {return yaopinName;}
public void setYaopinName(String yaopinName) {this.yaopinName = yaopinName;}
public Integer getKc() {return kc;}
public void setKc(Integer kc) {this.kc = kc;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getZy() {return zy;}
public void setZy(String zy) {this.zy = zy;}
}

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!