機械企業管理系統的設計與開發
- 機械企業管理系統的設計與開發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');
採購管理表建立語句如下:
create table t_cg(
id int primary key auto_increment comment '主鍵',
jxcpId int comment '產品名稱',
cgdh varchar(100) comment '',
cgsl int comment '採購數量',
jg int comment '價格',
fzr varchar(100) comment '負責人',
lxdh varchar(100) comment '聯絡電話',
showDate datetime comment '採購日期',
gysId int comment '供應商',
remark varchar(100) comment '備註'
) comment '採購管理';
部門表建立語句如下:
create table t_dept(
id int primary key auto_increment comment '主鍵',
deptName varchar(100) comment '部門'
) comment '部門';
員工表建立語句如下:
create table t_employee(
id int primary key auto_increment comment '主鍵',
username varchar(100) comment '賬號',
password varchar(100) comment '密碼 ',
employeeName varchar(100) comment '姓名',
zc varchar(100) comment '職稱',
deptName int comment '部門',
age varchar(100) comment '年齡',
sex varchar(100) comment '性別',
phone varchar(100) comment '電話',
pic varchar(100) comment '頭像'
) comment '員工';
供應商表建立語句如下:
create table t_gys(
id int primary key auto_increment comment '主鍵',
gysName varchar(100) comment '供應商名稱',
fzr varchar(100) comment '負責人',
phone varchar(100) comment '電話'
) comment '供應商';
機械產品表建立語句如下:
create table t_jxcp(
id int primary key auto_increment comment '主鍵',
jxcpName varchar(100) comment '機械產品名稱',
kc int comment '庫存'
) comment '機械產品';
客戶表建立語句如下:
create table t_kh(
id int primary key auto_increment comment '主鍵',
khName varchar(100) comment '姓名',
age varchar(100) comment '年齡',
sex varchar(100) comment '性別',
phone varchar(100) comment '電話',
pic varchar(100) comment '頭像',
ssgs varchar(100) comment '所屬公司'
) comment '客戶';
普通管理員表建立語句如下:
create table t_ptadmin(
id int primary key auto_increment comment '主鍵',
username varchar(100) comment '賬號',
password varchar(100) comment '密碼 ',
ptadminName varchar(100) comment '姓名',
age varchar(100) comment '年齡',
sex varchar(100) comment '性別',
phone varchar(100) comment '電話'
) comment '普通管理員';
銷售訂單表建立語句如下:
create table t_xs(
id int primary key auto_increment comment '主鍵',
jxcpId int comment '產品名稱',
xsdh varchar(100) comment '銷售單號',
xssl int comment '銷售數量',
jg int comment '價格',
fzr varchar(100) comment '負責人',
lxdh varchar(100) comment '聯絡電話',
showDate datetime comment '銷售日期',
khId int comment '客戶',
remark varchar(100) comment '備註'
) comment '銷售訂單';
銷售發貨表建立語句如下:
create table t_xsfh(
id int primary key auto_increment comment '主鍵',
xsdh varchar(100) comment '銷售單號',
fzr varchar(100) comment '發貨負責人',
lxdh varchar(100) comment '聯絡電話',
showDate datetime comment '發貨日期',
remark varchar(100) comment '備註'
) comment '銷售發貨';
銷售生產表建立語句如下:
create table t_xssc(
id int primary key auto_increment comment '主鍵',
xsdh varchar(100) comment '銷售單號',
fzr varchar(100) comment '生產負責人',
lxdh varchar(100) comment '聯絡電話',
showDate datetime comment '開始日期',
v1 varchar(100) comment '制定生產計劃和物料清單',
v2 varchar(100) comment '生成物料採購定單',
v3 varchar(100) comment '安排生產人員和生產裝置',
v4 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_cg(
id integer,
jxcpId int,
cgdh varchar(100),
cgsl int,
jg int,
fzr varchar(100),
lxdh varchar(100),
showDate datetime,
gysId int,
remark varchar(100)
);
--採購管理欄位加註釋
comment on column t_cg.id is '主鍵';
comment on column t_cg.jxcpId is '產品名稱';
comment on column t_cg.cgdh is '';
comment on column t_cg.cgsl is '採購數量';
comment on column t_cg.jg is '價格';
comment on column t_cg.fzr is '負責人';
comment on column t_cg.lxdh is '聯絡電話';
comment on column t_cg.showDate is '採購日期';
comment on column t_cg.gysId is '供應商';
comment on column t_cg.remark is '備註';
--採購管理表加註釋
comment on table t_cg is '採購管理';
部門表建立語句如下:
create table t_dept(
id integer,
deptName varchar(100)
);
--部門欄位加註釋
comment on column t_dept.id is '主鍵';
comment on column t_dept.deptName is '部門';
--部門表加註釋
comment on table t_dept is '部門';
員工表建立語句如下:
create table t_employee(
id integer,
username varchar(100),
password varchar(100),
employeeName varchar(100),
zc varchar(100),
deptName int,
age varchar(100),
sex varchar(100),
phone varchar(100),
pic varchar(100)
);
--員工欄位加註釋
comment on column t_employee.id is '主鍵';
comment on column t_employee.username is '賬號';
comment on column t_employee.password is '密碼 ';
comment on column t_employee.employeeName is '姓名';
comment on column t_employee.zc is '職稱';
comment on column t_employee.deptName is '部門';
comment on column t_employee.age is '年齡';
comment on column t_employee.sex is '性別';
comment on column t_employee.phone is '電話';
comment on column t_employee.pic is '頭像';
--員工表加註釋
comment on table t_employee is '員工';
供應商表建立語句如下:
create table t_gys(
id integer,
gysName varchar(100),
fzr varchar(100),
phone varchar(100)
);
--供應商欄位加註釋
comment on column t_gys.id is '主鍵';
comment on column t_gys.gysName is '供應商名稱';
comment on column t_gys.fzr is '負責人';
comment on column t_gys.phone is '電話';
--供應商表加註釋
comment on table t_gys is '供應商';
機械產品表建立語句如下:
create table t_jxcp(
id integer,
jxcpName varchar(100),
kc int
);
--機械產品欄位加註釋
comment on column t_jxcp.id is '主鍵';
comment on column t_jxcp.jxcpName is '機械產品名稱';
comment on column t_jxcp.kc is '庫存';
--機械產品表加註釋
comment on table t_jxcp is '機械產品';
客戶表建立語句如下:
create table t_kh(
id integer,
khName varchar(100),
age varchar(100),
sex varchar(100),
phone varchar(100),
pic varchar(100),
ssgs varchar(100)
);
--客戶欄位加註釋
comment on column t_kh.id is '主鍵';
comment on column t_kh.khName is '姓名';
comment on column t_kh.age is '年齡';
comment on column t_kh.sex is '性別';
comment on column t_kh.phone is '電話';
comment on column t_kh.pic is '頭像';
comment on column t_kh.ssgs is '所屬公司';
--客戶表加註釋
comment on table t_kh is '客戶';
普通管理員表建立語句如下:
create table t_ptadmin(
id integer,
username varchar(100),
password varchar(100),
ptadminName varchar(100),
age varchar(100),
sex 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.age is '年齡';
comment on column t_ptadmin.sex is '性別';
comment on column t_ptadmin.phone is '電話';
--普通管理員表加註釋
comment on table t_ptadmin is '普通管理員';
銷售訂單表建立語句如下:
create table t_xs(
id integer,
jxcpId int,
xsdh varchar(100),
xssl int,
jg int,
fzr varchar(100),
lxdh varchar(100),
showDate datetime,
khId int,
remark varchar(100)
);
--銷售訂單欄位加註釋
comment on column t_xs.id is '主鍵';
comment on column t_xs.jxcpId is '產品名稱';
comment on column t_xs.xsdh is '銷售單號';
comment on column t_xs.xssl is '銷售數量';
comment on column t_xs.jg is '價格';
comment on column t_xs.fzr is '負責人';
comment on column t_xs.lxdh is '聯絡電話';
comment on column t_xs.showDate is '銷售日期';
comment on column t_xs.khId is '客戶';
comment on column t_xs.remark is '備註';
--銷售訂單表加註釋
comment on table t_xs is '銷售訂單';
銷售發貨表建立語句如下:
create table t_xsfh(
id integer,
xsdh varchar(100),
fzr varchar(100),
lxdh varchar(100),
showDate datetime,
remark varchar(100)
);
--銷售發貨欄位加註釋
comment on column t_xsfh.id is '主鍵';
comment on column t_xsfh.xsdh is '銷售單號';
comment on column t_xsfh.fzr is '發貨負責人';
comment on column t_xsfh.lxdh is '聯絡電話';
comment on column t_xsfh.showDate is '發貨日期';
comment on column t_xsfh.remark is '備註';
--銷售發貨表加註釋
comment on table t_xsfh is '銷售發貨';
銷售生產表建立語句如下:
create table t_xssc(
id integer,
xsdh varchar(100),
fzr varchar(100),
lxdh varchar(100),
showDate datetime,
v1 varchar(100),
v2 varchar(100),
v3 varchar(100),
v4 varchar(100)
);
--銷售生產欄位加註釋
comment on column t_xssc.id is '主鍵';
comment on column t_xssc.xsdh is '銷售單號';
comment on column t_xssc.fzr is '生產負責人';
comment on column t_xssc.lxdh is '聯絡電話';
comment on column t_xssc.showDate is '開始日期';
comment on column t_xssc.v1 is '制定生產計劃和物料清單';
comment on column t_xssc.v2 is '生成物料採購定單';
comment on column t_xssc.v3 is '安排生產人員和生產裝置';
comment on column t_xssc.v4 is '進行工時和裝置損耗折舊的成本核算';
--銷售生產表加註釋
comment on table t_xssc is '銷售生產';
oracle特有,對應序列如下:
create sequence s_t_cg;
create sequence s_t_dept;
create sequence s_t_employee;
create sequence s_t_gys;
create sequence s_t_jxcp;
create sequence s_t_kh;
create sequence s_t_ptadmin;
create sequence s_t_xs;
create sequence s_t_xsfh;
create sequence s_t_xssc;
機械企業管理系統的設計與開發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_cg(
id int identity(1,1) primary key not null,--主鍵
jxcpId int,--產品名稱
cgdh varchar(100),--
cgsl int,--採購數量
jg int,--價格
fzr varchar(100),--負責人
lxdh varchar(100),--聯絡電話
showDate datetime,--採購日期
gysId int,--供應商
remark varchar(100)--備註
);
部門表建立語句如下:
--部門表註釋
create table t_dept(
id int identity(1,1) primary key not null,--主鍵
deptName varchar(100)--部門
);
員工表建立語句如下:
--員工表註釋
create table t_employee(
id int identity(1,1) primary key not null,--主鍵
username varchar(100),--賬號
password varchar(100),--密碼
employeeName varchar(100),--姓名
zc varchar(100),--職稱
deptName int,--部門
age varchar(100),--年齡
sex varchar(100),--性別
phone varchar(100),--電話
pic varchar(100)--頭像
);
供應商表建立語句如下:
--供應商表註釋
create table t_gys(
id int identity(1,1) primary key not null,--主鍵
gysName varchar(100),--供應商名稱
fzr varchar(100),--負責人
phone varchar(100)--電話
);
機械產品表建立語句如下:
--機械產品表註釋
create table t_jxcp(
id int identity(1,1) primary key not null,--主鍵
jxcpName varchar(100),--機械產品名稱
kc int--庫存
);
客戶表建立語句如下:
--客戶表註釋
create table t_kh(
id int identity(1,1) primary key not null,--主鍵
khName varchar(100),--姓名
age varchar(100),--年齡
sex varchar(100),--性別
phone varchar(100),--電話
pic varchar(100),--頭像
ssgs varchar(100)--所屬公司
);
普通管理員表建立語句如下:
--普通管理員表註釋
create table t_ptadmin(
id int identity(1,1) primary key not null,--主鍵
username varchar(100),--賬號
password varchar(100),--密碼
ptadminName varchar(100),--姓名
age varchar(100),--年齡
sex varchar(100),--性別
phone varchar(100)--電話
);
銷售訂單表建立語句如下:
--銷售訂單表註釋
create table t_xs(
id int identity(1,1) primary key not null,--主鍵
jxcpId int,--產品名稱
xsdh varchar(100),--銷售單號
xssl int,--銷售數量
jg int,--價格
fzr varchar(100),--負責人
lxdh varchar(100),--聯絡電話
showDate datetime,--銷售日期
khId int,--客戶
remark varchar(100)--備註
);
銷售發貨表建立語句如下:
--銷售發貨表註釋
create table t_xsfh(
id int identity(1,1) primary key not null,--主鍵
xsdh varchar(100),--銷售單號
fzr varchar(100),--發貨負責人
lxdh varchar(100),--聯絡電話
showDate datetime,--發貨日期
remark varchar(100)--備註
);
銷售生產表建立語句如下:
--銷售生產表註釋
create table t_xssc(
id int identity(1,1) primary key not null,--主鍵
xsdh varchar(100),--銷售單號
fzr varchar(100),--生產負責人
lxdh varchar(100),--聯絡電話
showDate datetime,--開始日期
v1 varchar(100),--制定生產計劃和物料清單
v2 varchar(100),--生成物料採購定單
v3 varchar(100),--安排生產人員和生產裝置
v4 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_cg")
public class Cg {
//主鍵
@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 jxcpId;
//
private String cgdh;
//採購數量
private Integer cgsl;
//價格
private Integer jg;
//負責人
private String fzr;
//聯絡電話
private String lxdh;
//採購日期
private Date showDate;
//供應商
private Integer gysId;
//備註
private String remark;
public Integer getJxcpId() {return jxcpId;}
public void setJxcpId(Integer jxcpId) {this.jxcpId = jxcpId;}
public String getCgdh() {return cgdh;}
public void setCgdh(String cgdh) {this.cgdh = cgdh;}
public Integer getCgsl() {return cgsl;}
public void setCgsl(Integer cgsl) {this.cgsl = cgsl;}
public Integer getJg() {return jg;}
public void setJg(Integer jg) {this.jg = jg;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
部門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_dept")
public class Dept {
//主鍵
@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 deptName;
public String getDeptName() {return deptName;}
public void setDeptName(String deptName) {this.deptName = deptName;}
}
員工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_employee")
public class Employee {
//主鍵
@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 employeeName;
//職稱
private String zc;
//部門
private Integer deptName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//頭像
private String pic;
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 getEmployeeName() {return employeeName;}
public void setEmployeeName(String employeeName) {this.employeeName = employeeName;}
public String getZc() {return zc;}
public void setZc(String zc) {this.zc = zc;}
public Integer getDeptName() {return deptName;}
public void setDeptName(Integer deptName) {this.deptName = deptName;}
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 String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}
供應商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_gys")
public class Gys {
//主鍵
@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 gysName;
//負責人
private String fzr;
//電話
private String phone;
public String getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}
機械產品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_jxcp")
public class Jxcp {
//主鍵
@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 jxcpName;
//庫存
private Integer kc;
public String getJxcpName() {return jxcpName;}
public void setJxcpName(String jxcpName) {this.jxcpName = jxcpName;}
public Integer getKc() {return kc;}
public void setKc(Integer kc) {this.kc = kc;}
}
客戶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_kh")
public class Kh {
//主鍵
@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 khName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//頭像
private String pic;
//所屬公司
private String ssgs;
public String getKhName() {return khName;}
public void setKhName(String khName) {this.khName = khName;}
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 String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getSsgs() {return ssgs;}
public void setSsgs(String ssgs) {this.ssgs = ssgs;}
}
普通管理員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 age;
//性別
private String sex;
//電話
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 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;}
}
銷售訂單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_xs")
public class Xs {
//主鍵
@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 jxcpId;
//銷售單號
private String xsdh;
//銷售數量
private Integer xssl;
//價格
private Integer jg;
//負責人
private String fzr;
//聯絡電話
private String lxdh;
//銷售日期
private Date showDate;
//客戶
private Integer khId;
//備註
private String remark;
public Integer getJxcpId() {return jxcpId;}
public void setJxcpId(Integer jxcpId) {this.jxcpId = jxcpId;}
public String getXsdh() {return xsdh;}
public void setXsdh(String xsdh) {this.xsdh = xsdh;}
public Integer getXssl() {return xssl;}
public void setXssl(Integer xssl) {this.xssl = xssl;}
public Integer getJg() {return jg;}
public void setJg(Integer jg) {this.jg = jg;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getKhId() {return khId;}
public void setKhId(Integer khId) {this.khId = khId;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
銷售發貨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_xsfh")
public class Xsfh {
//主鍵
@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 xsdh;
//發貨負責人
private String fzr;
//聯絡電話
private String lxdh;
//發貨日期
private Date showDate;
//備註
private String remark;
public String getXsdh() {return xsdh;}
public void setXsdh(String xsdh) {this.xsdh = xsdh;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
銷售生產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_xssc")
public class Xssc {
//主鍵
@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 xsdh;
//生產負責人
private String fzr;
//聯絡電話
private String lxdh;
//開始日期
private Date showDate;
//制定生產計劃和物料清單
private String v1;
//生成物料採購定單
private String v2;
//安排生產人員和生產裝置
private String v3;
//進行工時和裝置損耗折舊的成本核算
private String v4;
public String getXsdh() {return xsdh;}
public void setXsdh(String xsdh) {this.xsdh = xsdh;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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;}
}
機械企業管理系統的設計與開發spring springMVC mybatis框架物件(javaBean,pojo)設計:
採購管理javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//採購管理
public class Cg extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//產品名稱
private Integer jxcpId;
//
private String cgdh;
//採購數量
private Integer cgsl;
//價格
private Integer jg;
//負責人
private String fzr;
//聯絡電話
private String lxdh;
//採購日期
private Date showDate;
//供應商
private Integer gysId;
//備註
private String remark;
public Integer getJxcpId() {return jxcpId;}
public void setJxcpId(Integer jxcpId) {this.jxcpId = jxcpId;}
public String getCgdh() {return cgdh;}
public void setCgdh(String cgdh) {this.cgdh = cgdh;}
public Integer getCgsl() {return cgsl;}
public void setCgsl(Integer cgsl) {this.cgsl = cgsl;}
public Integer getJg() {return jg;}
public void setJg(Integer jg) {this.jg = jg;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
部門javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//部門
public class Dept extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//部門
private String deptName;
public String getDeptName() {return deptName;}
public void setDeptName(String deptName) {this.deptName = deptName;}
}
員工javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//員工
public class Employee 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 employeeName;
//職稱
private String zc;
//部門
private Integer deptName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//頭像
private String pic;
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 getEmployeeName() {return employeeName;}
public void setEmployeeName(String employeeName) {this.employeeName = employeeName;}
public String getZc() {return zc;}
public void setZc(String zc) {this.zc = zc;}
public Integer getDeptName() {return deptName;}
public void setDeptName(Integer deptName) {this.deptName = deptName;}
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 String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}
供應商javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//供應商
public class Gys extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//供應商名稱
private String gysName;
//負責人
private String fzr;
//電話
private String phone;
public String getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}
機械產品javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//機械產品
public class Jxcp extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//機械產品名稱
private String jxcpName;
//庫存
private Integer kc;
public String getJxcpName() {return jxcpName;}
public void setJxcpName(String jxcpName) {this.jxcpName = jxcpName;}
public Integer getKc() {return kc;}
public void setKc(Integer kc) {this.kc = kc;}
}
客戶javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//客戶
public class Kh extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String khName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//頭像
private String pic;
//所屬公司
private String ssgs;
public String getKhName() {return khName;}
public void setKhName(String khName) {this.khName = khName;}
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 String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getSsgs() {return ssgs;}
public void setSsgs(String ssgs) {this.ssgs = ssgs;}
}
普通管理員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 age;
//性別
private String sex;
//電話
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 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;}
}
銷售訂單javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//銷售訂單
public class Xs extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//產品名稱
private Integer jxcpId;
//銷售單號
private String xsdh;
//銷售數量
private Integer xssl;
//價格
private Integer jg;
//負責人
private String fzr;
//聯絡電話
private String lxdh;
//銷售日期
private Date showDate;
//客戶
private Integer khId;
//備註
private String remark;
public Integer getJxcpId() {return jxcpId;}
public void setJxcpId(Integer jxcpId) {this.jxcpId = jxcpId;}
public String getXsdh() {return xsdh;}
public void setXsdh(String xsdh) {this.xsdh = xsdh;}
public Integer getXssl() {return xssl;}
public void setXssl(Integer xssl) {this.xssl = xssl;}
public Integer getJg() {return jg;}
public void setJg(Integer jg) {this.jg = jg;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getKhId() {return khId;}
public void setKhId(Integer khId) {this.khId = khId;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
銷售發貨javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//銷售發貨
public class Xsfh extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//銷售單號
private String xsdh;
//發貨負責人
private String fzr;
//聯絡電話
private String lxdh;
//發貨日期
private Date showDate;
//備註
private String remark;
public String getXsdh() {return xsdh;}
public void setXsdh(String xsdh) {this.xsdh = xsdh;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
銷售生產javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//銷售生產
public class Xssc extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//銷售單號
private String xsdh;
//生產負責人
private String fzr;
//聯絡電話
private String lxdh;
//開始日期
private Date showDate;
//制定生產計劃和物料清單
private String v1;
//生成物料採購定單
private String v2;
//安排生產人員和生產裝置
private String v3;
//進行工時和裝置損耗折舊的成本核算
private String v4;
public String getXsdh() {return xsdh;}
public void setXsdh(String xsdh) {this.xsdh = xsdh;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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;}
}
相關文章
- 機械行業ERP管理系統開發怎麼選?機械行業erp系統開發行業
- 工程機械企業產品資料管理系統研發
- 機械工業ERP系統有哪些常用功能呢?ERP機械行業系統開發行業
- SAP Business one適合機械製造企業的ERP管理系統
- 企業管理系統-ERP開發
- 疫苗接種管理系統的設計與開發
- 利用 SOLIDWORKS開發機械的電氣系統Solid
- 餐飲行業企業管理系統開發行業
- 基於java的企業車輛管理系統的設計與實現Java
- 企業工程專案管理系統原始碼+系統管理+系統設定+二次開發專案管理原始碼
- 企業工程專案管理系統+spring cloud 系統管理+java 系統設定+二次開發專案管理SpringCloudJava
- 從Git設計原理到業務系統設計與開發Git
- 怎麼選擇更適合企業的ERP系統?企業ERP管理系統開發
- 基於SSM開發的企業人事管理系統SSM
- PbootCMS企業網站開發建設管理系統系統使用者授權的宣告boot網站
- 機械加工如何使用ERP管理系統?
- 機械設計協同管理,設計協同管理解決方案
- 就業資訊管理系統設計與實現就業
- 零程式碼企業管理系統開發平臺好開發嗎?
- 基於TP3.1開發的企業網站管理系統網站
- 程式設計作業——系統管理程式設計
- 萊蕪工業企業能耗監測系統開發能源管理體系認證建設
- 企業園區能源管理體系建設能耗線上監測系統開發
- java程式與設計大作業-馬拉松管理系統Java
- 機械行業解決方案高效解決企業管理難題行業
- Java畢業設計_基於MySQL網盤管理系統的設計與實現JavaMySql
- 企業管理系統1.1.0
- 能源管理系統開發在工業企業節能降耗中的作用
- 昆蟲分類與檢索系統的設計與開發
- 企業能源線上管理系統開發工廠能耗管理平臺搭建
- 基於SSH培訓機構管理系統的設計與實現
- DukuanCMS_V1.0.0,企業建站系統,開源免費,CMS系統,企業建站系統,可免費用於商業的企業網站管理系統網站
- 基於javaEE的土地檔案管理系統的設計及開發Java
- 出行路線規劃系統設計與開發
- 高耗能企業能源管理中心建設,節能減排系統開發方案
- 企業管理系統庫存管理軟體進銷存系統協同辦公系統二次開發
- 分析企業實施商機管理系統的必要性
- 機械製造業數字化新“引擎”,供應鏈協同管理系統助力企業精細化管理邁上新臺階