Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
34dcaf3d
Commit
34dcaf3d
authored
Feb 15, 2017
by
季圣华
Browse files
升级代码结构,采用Maven来管理jar包(15)
parent
0b41f71a
Changes
206
Show whitespace changes
Inline
Side-by-side
src/com/jsh/model/po/Assetcategory.java
deleted
100644 → 0
View file @
0b41f71a
package
com.jsh.model.po
;
@SuppressWarnings
(
"serial"
)
public
class
Assetcategory
implements
java
.
io
.
Serializable
{
private
Long
id
;
private
String
assetname
;
private
Short
isystem
;
private
String
description
;
public
Assetcategory
()
{
}
public
Assetcategory
(
Long
id
)
{
this
.
id
=
id
;
}
public
Assetcategory
(
String
assetname
,
Short
isystem
,
String
description
)
{
this
.
assetname
=
assetname
;
this
.
isystem
=
isystem
;
this
.
description
=
description
;
}
public
Long
getId
()
{
return
this
.
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getAssetname
()
{
return
this
.
assetname
;
}
public
void
setAssetname
(
String
assetname
)
{
this
.
assetname
=
assetname
;
}
public
Short
getIsystem
()
{
return
this
.
isystem
;
}
public
void
setIsystem
(
Short
isystem
)
{
this
.
isystem
=
isystem
;
}
public
String
getDescription
()
{
return
this
.
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
}
\ No newline at end of file
src/com/jsh/model/po/Assetname.hbm.xml
deleted
100644 → 0
View file @
0b41f71a
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Assetname"
table=
"jsh_assetname"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
</id>
<property
name=
"assetname"
type=
"java.lang.String"
>
<column
name=
"assetname"
not-null=
"true"
>
<comment>
资产名称
</comment>
</column>
</property>
<many-to-one
name=
"category"
class=
"com.jsh.model.po.Category"
lazy=
"false"
>
<column
name=
"assetcategoryID"
not-null=
"true"
/>
</many-to-one>
<property
name=
"isystem"
type=
"java.lang.Short"
>
<column
name=
"isystem"
not-null=
"true"
>
<comment>
是否系统自带 0==系统 1==非系统
</comment>
</column>
</property>
<property
name=
"description"
type=
"java.lang.String"
>
<column
name=
"description"
length=
"500"
>
<comment>
描述信息
</comment>
</column>
</property>
<property
name=
"isconsumables"
type=
"java.lang.Short"
>
<column
name=
"isconsumables"
>
<comment>
是否为耗材 0==否 1==是 耗材状态只能是消费
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/Assetname.java
deleted
100644 → 0
View file @
0b41f71a
package
com.jsh.model.po
;
@SuppressWarnings
(
"serial"
)
public
class
Assetname
implements
java
.
io
.
Serializable
{
private
Long
id
;
private
String
assetname
;
private
Short
isystem
;
private
Category
category
;
private
String
description
;
private
Short
isconsumables
;
public
Assetname
()
{
}
public
Assetname
(
Long
id
)
{
this
.
id
=
id
;
}
public
Assetname
(
String
assetname
,
Short
isystem
,
String
description
,
Short
isconsumables
,
Category
category
)
{
this
.
assetname
=
assetname
;
this
.
isystem
=
isystem
;
this
.
description
=
description
;
this
.
isconsumables
=
isconsumables
;
this
.
category
=
category
;
}
public
Long
getId
()
{
return
this
.
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getAssetname
()
{
return
this
.
assetname
;
}
public
void
setAssetname
(
String
assetname
)
{
this
.
assetname
=
assetname
;
}
public
Short
getIsystem
()
{
return
this
.
isystem
;
}
public
void
setIsystem
(
Short
isystem
)
{
this
.
isystem
=
isystem
;
}
public
String
getDescription
()
{
return
this
.
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
public
Short
getIsconsumables
()
{
return
this
.
isconsumables
;
}
public
void
setIsconsumables
(
Short
isconsumables
)
{
this
.
isconsumables
=
isconsumables
;
}
public
Category
getCategory
()
{
return
category
;
}
public
void
setCategory
(
Category
category
)
{
this
.
category
=
category
;
}
}
\ No newline at end of file
src/com/jsh/model/po/Basicuser.hbm.xml
deleted
100644 → 0
View file @
0b41f71a
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Basicuser"
table=
"jsh_user"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
</id>
<property
name=
"username"
type=
"java.lang.String"
>
<column
name=
"username"
not-null=
"true"
>
<comment>
用户姓名--例如张三
</comment>
</column>
</property>
<property
name=
"loginame"
type=
"java.lang.String"
>
<column
name=
"loginame"
>
<comment>
登录用户名--可能为空
</comment>
</column>
</property>
<property
name=
"password"
type=
"java.lang.String"
>
<column
name=
"password"
length=
"50"
not-null=
"true"
>
<comment>
登陆密码
</comment>
</column>
</property>
<property
name=
"position"
type=
"java.lang.String"
>
<column
name=
"position"
length=
"200"
>
<comment>
职位
</comment>
</column>
</property>
<property
name=
"department"
type=
"java.lang.String"
>
<column
name=
"department"
>
<comment>
所属部门
</comment>
</column>
</property>
<property
name=
"email"
type=
"java.lang.String"
>
<column
name=
"email"
length=
"100"
>
<comment>
电子邮箱
</comment>
</column>
</property>
<property
name=
"phonenum"
type=
"java.lang.String"
>
<column
name=
"phonenum"
length=
"100"
>
<comment>
手机号码
</comment>
</column>
</property>
<property
name=
"ismanager"
type=
"java.lang.Short"
>
<column
name=
"ismanager"
not-null=
"true"
>
<comment>
是否为管理者 0==管理者 1==员工
</comment>
</column>
</property>
<property
name=
"isystem"
type=
"java.lang.Short"
>
<column
name=
"isystem"
not-null=
"true"
>
<comment>
是否系统自带数据
</comment>
</column>
</property>
<property
name=
"status"
type=
"java.lang.Short"
>
<column
name=
"status"
>
<comment>
用户状态
</comment>
</column>
</property>
<property
name=
"description"
type=
"java.lang.String"
>
<column
name=
"description"
length=
"500"
>
<comment>
用户描述信息
</comment>
</column>
</property>
<property
name=
"remark"
type=
"java.lang.String"
>
<column
name=
"remark"
length=
"500"
/>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/Basicuser.java
deleted
100644 → 0
View file @
0b41f71a
package
com.jsh.model.po
;
@SuppressWarnings
(
"serial"
)
public
class
Basicuser
implements
java
.
io
.
Serializable
{
private
Long
id
;
private
String
username
;
private
String
loginame
;
private
String
password
;
private
String
position
;
private
String
department
;
private
String
email
;
private
String
phonenum
;
private
Short
ismanager
;
private
Short
isystem
;
private
Short
status
;
private
String
description
;
private
String
remark
;
public
Basicuser
()
{
}
public
Basicuser
(
Long
id
)
{
this
.
id
=
id
;
}
public
Basicuser
(
String
username
,
String
loginame
,
String
password
,
String
position
,
String
department
,
String
email
,
String
phonenum
,
Short
ismanager
,
Short
isystem
,
Short
status
,
String
description
,
String
remark
)
{
this
.
username
=
username
;
this
.
loginame
=
loginame
;
this
.
password
=
password
;
this
.
position
=
position
;
this
.
department
=
department
;
this
.
email
=
email
;
this
.
phonenum
=
phonenum
;
this
.
ismanager
=
ismanager
;
this
.
isystem
=
isystem
;
this
.
status
=
status
;
this
.
description
=
description
;
this
.
remark
=
remark
;
}
public
Long
getId
()
{
return
this
.
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getUsername
()
{
return
this
.
username
;
}
public
void
setUsername
(
String
username
)
{
this
.
username
=
username
;
}
public
String
getLoginame
()
{
return
this
.
loginame
;
}
public
void
setLoginame
(
String
loginame
)
{
this
.
loginame
=
loginame
;
}
public
String
getPassword
()
{
return
this
.
password
;
}
public
void
setPassword
(
String
password
)
{
this
.
password
=
password
;
}
public
String
getPosition
()
{
return
this
.
position
;
}
public
void
setPosition
(
String
position
)
{
this
.
position
=
position
;
}
public
String
getDepartment
()
{
return
this
.
department
;
}
public
void
setDepartment
(
String
department
)
{
this
.
department
=
department
;
}
public
String
getEmail
()
{
return
this
.
email
;
}
public
void
setEmail
(
String
email
)
{
this
.
email
=
email
;
}
public
String
getPhonenum
()
{
return
this
.
phonenum
;
}
public
void
setPhonenum
(
String
phonenum
)
{
this
.
phonenum
=
phonenum
;
}
public
Short
getIsmanager
()
{
return
this
.
ismanager
;
}
public
void
setIsmanager
(
Short
ismanager
)
{
this
.
ismanager
=
ismanager
;
}
public
Short
getIsystem
()
{
return
this
.
isystem
;
}
public
void
setIsystem
(
Short
isystem
)
{
this
.
isystem
=
isystem
;
}
public
Short
getStatus
()
{
return
this
.
status
;
}
public
void
setStatus
(
Short
status
)
{
this
.
status
=
status
;
}
public
String
getDescription
()
{
return
this
.
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
public
String
getRemark
()
{
return
this
.
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
}
\ No newline at end of file
src/com/jsh/model/po/Category.hbm.xml
deleted
100644 → 0
View file @
0b41f71a
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Category"
table=
"jsh_assetcategory"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
</id>
<property
name=
"assetname"
type=
"java.lang.String"
>
<column
name=
"assetname"
not-null=
"true"
>
<comment>
资产类型名称
</comment>
</column>
</property>
<property
name=
"isystem"
type=
"java.lang.Short"
>
<column
name=
"isystem"
not-null=
"true"
>
<comment>
是否系统自带 0==系统 1==非系统
</comment>
</column>
</property>
<property
name=
"description"
type=
"java.lang.String"
>
<column
name=
"description"
length=
"500"
>
<comment>
描述信息
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/Category.java
deleted
100644 → 0
View file @
0b41f71a
package
com.jsh.model.po
;
@SuppressWarnings
(
"serial"
)
public
class
Category
implements
java
.
io
.
Serializable
{
private
Long
id
;
private
String
assetname
;
private
Short
isystem
;
private
String
description
;
public
Category
()
{
}
public
Category
(
Long
id
)
{
this
.
id
=
id
;
}
public
Category
(
String
assetname
,
Short
isystem
,
String
description
)
{
this
.
assetname
=
assetname
;
this
.
isystem
=
isystem
;
this
.
description
=
description
;
}
public
Long
getId
()
{
return
this
.
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getAssetname
()
{
return
this
.
assetname
;
}
public
void
setAssetname
(
String
assetname
)
{
this
.
assetname
=
assetname
;
}
public
Short
getIsystem
()
{
return
this
.
isystem
;
}
public
void
setIsystem
(
Short
isystem
)
{
this
.
isystem
=
isystem
;
}
public
String
getDescription
()
{
return
this
.
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
}
\ No newline at end of file
src/com/jsh/model/po/Depot.hbm.xml
deleted
100644 → 0
View file @
0b41f71a
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Depot"
table=
"jsh_depot"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
</id>
<property
generated=
"never"
lazy=
"false"
name=
"name"
type=
"java.lang.String"
>
<column
length=
"20"
name=
"name"
>
<comment>
仓库名称
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"sort"
type=
"java.lang.String"
>
<column
length=
"10"
name=
"sort"
>
<comment>
排序
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"remark"
type=
"java.lang.String"
>
<column
length=
"100"
name=
"remark"
>
<comment>
描述
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/Depot.java
deleted
100644 → 0
View file @
0b41f71a
package
com.jsh.model.po
;
@SuppressWarnings
(
"serial"
)
public
class
Depot
implements
java
.
io
.
Serializable
{
private
Long
id
;
private
String
name
;
private
String
sort
;
private
String
remark
;
public
Depot
()
{
}
public
Depot
(
Long
id
)
{
this
.
id
=
id
;
}
public
Depot
(
String
name
,
String
sort
,
String
remark
)
{
this
.
name
=
name
;
this
.
sort
=
sort
;
this
.
remark
=
remark
;
}
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getSort
()
{
return
sort
;
}
public
void
setSort
(
String
sort
)
{
this
.
sort
=
sort
;
}
public
String
getRemark
()
{
return
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
}
\ No newline at end of file
src/com/jsh/model/po/DepotHead.hbm.xml
deleted
100644 → 0
View file @
0b41f71a
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.DepotHead"
table=
"jsh_depothead"
>
<id
name=
"Id"
type=
"java.lang.Long"
>
<column
name=
"Id"
/>
<generator
class=
"native"
/>
</id>
<property
generated=
"never"
lazy=
"false"
name=
"Type"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Type"
>
<comment>
类型(出库/入库)
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"SubType"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"SubType"
>
<comment>
出入库分类
</comment>
</column>
</property>
<many-to-one
name=
"ProjectId"
class=
"com.jsh.model.po.Depot"
lazy=
"false"
>
<column
name=
"ProjectId"
not-null=
"true"
>
<comment>
项目Id
</comment>
</column>
</many-to-one>
<property
generated=
"never"
lazy=
"false"
name=
"Number"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Number"
>
<comment>
票据号
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"OperPersonName"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"OperPersonName"
>
<comment>
操作员名字
</comment>
</column>
</property>
<property
name=
"CreateTime"
type=
"java.sql.Timestamp"
>
<column
length=
"19"
name=
"CreateTime"
>
<comment>
创建时间
</comment>
</column>
</property>
<property
name=
"OperTime"
type=
"java.sql.Timestamp"
>
<column
length=
"19"
name=
"OperTime"
>
<comment>
出入库时间
</comment>
</column>
</property>
<many-to-one
name=
"OrganId"
class=
"com.jsh.model.po.Supplier"
lazy=
"false"
>
<column
name=
"OrganId"
>
<comment>
供应商Id
</comment>
</column>
</many-to-one>
<many-to-one
name=
"HandsPersonId"
class=
"com.jsh.model.po.Person"
lazy=
"false"
>
<column
name=
"HandsPersonId"
>
<comment>
经手人Id
</comment>
</column>
</many-to-one>
<many-to-one
name=
"AccountId"
class=
"com.jsh.model.po.Account"
lazy=
"false"
>
<column
name=
"AccountId"
>
<comment>
账户Id
</comment>
</column>
</many-to-one>
<property
generated=
"never"
lazy=
"false"
name=
"ChangeAmount"
type=
"java.lang.Double"
>
<column
name=
"ChangeAmount"
precision=
"22"
scale=
"3"
>
<comment>
变动金额(收款/付款)
</comment>
</column>
</property>
<many-to-one
name=
"AllocationProjectId"
class=
"com.jsh.model.po.Depot"
lazy=
"false"
>
<column
name=
"AllocationProjectId"
>
<comment>
调拨时,对方项目Id
</comment>
</column>
</many-to-one>
<property
generated=
"never"
lazy=
"false"
name=
"TotalPrice"
type=
"java.lang.Double"
>
<column
name=
"TotalPrice"
precision=
"22"
scale=
"3"
>
<comment>
合计金额
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Remark"
type=
"java.lang.String"
>
<column
length=
"1000"
name=
"Remark"
>
<comment>
备注
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/DepotHead.java
deleted
100644 → 0
View file @
0b41f71a
package
com.jsh.model.po
;
import
java.sql.Timestamp
;
@SuppressWarnings
(
"serial"
)
public
class
DepotHead
implements
java
.
io
.
Serializable
{
private
Long
Id
;
private
String
Type
;
private
String
SubType
;
private
Depot
ProjectId
;
private
String
Number
;
private
String
OperPersonName
;
private
Timestamp
CreateTime
;
private
Timestamp
OperTime
;
private
Supplier
OrganId
;
private
Person
HandsPersonId
;
private
Account
AccountId
;
private
Double
ChangeAmount
;
private
Depot
AllocationProjectId
;
private
Double
TotalPrice
;
private
String
Remark
;
public
DepotHead
()
{
}
public
DepotHead
(
Long
Id
)
{
this
.
Id
=
Id
;
}
public
DepotHead
(
String
type
,
String
subType
,
Depot
projectId
,
String
number
,
String
operPersonName
,
Timestamp
createTime
,
Timestamp
operTime
,
Supplier
organId
,
Person
handsPersonId
,
Account
accountId
,
Double
changeAmount
,
Depot
allocationProjectId
,
Double
totalPrice
,
String
remark
)
{
super
();
Type
=
type
;
SubType
=
subType
;
ProjectId
=
projectId
;
Number
=
number
;
OperPersonName
=
operPersonName
;
CreateTime
=
createTime
;
OperTime
=
operTime
;
OrganId
=
organId
;
HandsPersonId
=
handsPersonId
;
AccountId
=
accountId
;
ChangeAmount
=
changeAmount
;
AllocationProjectId
=
allocationProjectId
;
TotalPrice
=
totalPrice
;
Remark
=
remark
;
}
public
Long
getId
()
{
return
Id
;
}
public
void
setId
(
Long
id
)
{
Id
=
id
;
}
public
String
getType
()
{
return
Type
;
}
public
void
setType
(
String
type
)
{
Type
=
type
;
}
public
String
getSubType
()
{
return
SubType
;
}
public
void
setSubType
(
String
subType
)
{
SubType
=
subType
;
}
public
Depot
getProjectId
()
{
return
ProjectId
;
}
public
void
setProjectId
(
Depot
projectId
)
{
ProjectId
=
projectId
;
}
public
String
getNumber
()
{
return
Number
;
}
public
void
setNumber
(
String
number
)
{
Number
=
number
;
}
public
String
getOperPersonName
()
{
return
OperPersonName
;
}
public
void
setOperPersonName
(
String
operPersonName
)
{
OperPersonName
=
operPersonName
;
}
public
Timestamp
getCreateTime
()
{
return
CreateTime
;
}
public
void
setCreateTime
(
Timestamp
createTime
)
{
CreateTime
=
createTime
;
}
public
Timestamp
getOperTime
()
{
return
OperTime
;
}
public
void
setOperTime
(
Timestamp
operTime
)
{
OperTime
=
operTime
;
}
public
Supplier
getOrganId
()
{
return
OrganId
;
}
public
void
setOrganId
(
Supplier
organId
)
{
OrganId
=
organId
;
}
public
Person
getHandsPersonId
()
{
return
HandsPersonId
;
}
public
void
setHandsPersonId
(
Person
handsPersonId
)
{
HandsPersonId
=
handsPersonId
;
}
public
Account
getAccountId
()
{
return
AccountId
;
}
public
void
setAccountId
(
Account
accountId
)
{
AccountId
=
accountId
;
}
public
Double
getChangeAmount
()
{
return
ChangeAmount
;
}
public
void
setChangeAmount
(
Double
changeAmount
)
{
ChangeAmount
=
changeAmount
;
}
public
Depot
getAllocationProjectId
()
{
return
AllocationProjectId
;
}
public
void
setAllocationProjectId
(
Depot
allocationProjectId
)
{
AllocationProjectId
=
allocationProjectId
;
}
public
Double
getTotalPrice
()
{
return
TotalPrice
;
}
public
void
setTotalPrice
(
Double
totalPrice
)
{
TotalPrice
=
totalPrice
;
}
public
String
getRemark
()
{
return
Remark
;
}
public
void
setRemark
(
String
remark
)
{
Remark
=
remark
;
}
}
\ No newline at end of file
src/com/jsh/model/po/DepotItem.hbm.xml
deleted
100644 → 0
View file @
0b41f71a
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.DepotItem"
table=
"jsh_depotitem"
>
<id
name=
"Id"
type=
"java.lang.Long"
>
<column
name=
"Id"
/>
<generator
class=
"native"
/>
</id>
<many-to-one
name=
"HeaderId"
class=
"com.jsh.model.po.DepotHead"
lazy=
"false"
>
<column
name=
"HeaderId"
not-null=
"true"
>
<comment>
表头Id
</comment>
</column>
</many-to-one>
<many-to-one
name=
"MaterialId"
class=
"com.jsh.model.po.Material"
lazy=
"false"
>
<column
name=
"MaterialId"
not-null=
"true"
>
<comment>
材料Id
</comment>
</column>
</many-to-one>
<property
generated=
"never"
lazy=
"false"
name=
"OperNumber"
type=
"java.lang.Double"
>
<column
name=
"OperNumber"
precision=
"22"
scale=
"3"
>
<comment>
数量
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"UnitPrice"
type=
"java.lang.Double"
>
<column
name=
"UnitPrice"
precision=
"22"
scale=
"3"
>
<comment>
单价
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"AllPrice"
type=
"java.lang.Double"
>
<column
name=
"AllPrice"
precision=
"22"
scale=
"3"
>
<comment>
金额
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Remark"
type=
"java.lang.String"
>
<column
length=
"200"
name=
"Remark"
>
<comment>
描述
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Img"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Img"
>
<comment>
图片
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/DepotItem.java
deleted
100644 → 0
View file @
0b41f71a
package
com.jsh.model.po
;
@SuppressWarnings
(
"serial"
)
public
class
DepotItem
implements
java
.
io
.
Serializable
{
private
Long
Id
;
private
DepotHead
HeaderId
;
private
Material
MaterialId
;
private
Double
OperNumber
;
private
Double
UnitPrice
;
private
Double
AllPrice
;
private
String
Remark
;
private
String
Img
;
public
DepotItem
()
{
}
public
DepotItem
(
Long
Id
)
{
this
.
Id
=
Id
;
}
public
DepotItem
(
DepotHead
headerId
,
Material
materialId
,
Double
operNumber
,
Double
unitPrice
,
Double
allPrice
,
String
remark
,
String
img
)
{
super
();
HeaderId
=
headerId
;
MaterialId
=
materialId
;
OperNumber
=
operNumber
;
UnitPrice
=
unitPrice
;
AllPrice
=
allPrice
;
Remark
=
remark
;
Img
=
img
;
}
public
Long
getId
()
{
return
Id
;
}
public
void
setId
(
Long
id
)
{
Id
=
id
;
}
public
DepotHead
getHeaderId
()
{
return
HeaderId
;
}
public
void
setHeaderId
(
DepotHead
headerId
)
{
HeaderId
=
headerId
;
}
public
Material
getMaterialId
()
{
return
MaterialId
;
}
public
void
setMaterialId
(
Material
materialId
)
{
MaterialId
=
materialId
;
}
public
Double
getOperNumber
()
{
return
OperNumber
;
}
public
void
setOperNumber
(
Double
operNumber
)
{
OperNumber
=
operNumber
;
}
public
Double
getUnitPrice
()
{
return
UnitPrice
;
}
public
void
setUnitPrice
(
Double
unitPrice
)
{
UnitPrice
=
unitPrice
;
}
public
Double
getAllPrice
()
{
return
AllPrice
;
}
public
void
setAllPrice
(
Double
allPrice
)
{
AllPrice
=
allPrice
;
}
public
String
getRemark
()
{
return
Remark
;
}
public
void
setRemark
(
String
remark
)
{
Remark
=
remark
;
}
public
String
getImg
()
{
return
Img
;
}
public
void
setImg
(
String
img
)
{
Img
=
img
;
}
}
src/com/jsh/model/po/Functions.hbm.xml
deleted
100644 → 0
View file @
0b41f71a
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Functions"
table=
"jsh_functions"
>
<id
name=
"Id"
type=
"java.lang.Long"
>
<column
name=
"Id"
/>
<generator
class=
"native"
/>
</id>
<property
generated=
"never"
lazy=
"false"
name=
"Number"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Number"
>
<comment>
编号
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Name"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Name"
>
<comment>
名称
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"PNumber"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"PNumber"
>
<comment>
上级编号
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"URL"
type=
"java.lang.String"
>
<column
length=
"100"
name=
"URL"
>
<comment>
链接
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"State"
type=
"boolean"
>
<column
length=
"1"
name=
"State"
>
<comment>
收缩
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Sort"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Sort"
>
<comment>
排序
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Enabled"
type=
"boolean"
>
<column
length=
"1"
name=
"Enabled"
>
<comment>
启用
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Type"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Type"
>
<comment>
类型
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/Functions.java
deleted
100644 → 0
View file @
0b41f71a
package
com.jsh.model.po
;
@SuppressWarnings
(
"serial"
)
public
class
Functions
implements
java
.
io
.
Serializable
{
private
Long
Id
;
private
String
Number
;
private
String
Name
;
private
String
PNumber
;
private
String
URL
;
private
Boolean
State
;
private
String
Sort
;
private
Boolean
Enabled
;
private
String
Type
;
public
Functions
()
{
}
public
Long
getId
()
{
return
Id
;
}
public
void
setId
(
Long
id
)
{
Id
=
id
;
}
public
String
getNumber
()
{
return
Number
;
}
public
void
setNumber
(
String
number
)
{
Number
=
number
;
}
public
String
getName
()
{
return
Name
;
}
public
void
setName
(
String
name
)
{
Name
=
name
;
}
public
String
getPNumber
()
{
return
PNumber
;
}
public
void
setPNumber
(
String
pNumber
)
{
PNumber
=
pNumber
;
}
public
String
getURL
()
{
return
URL
;
}
public
void
setURL
(
String
uRL
)
{
URL
=
uRL
;
}
public
Boolean
getState
()
{
return
State
;
}
public
void
setState
(
Boolean
state
)
{
State
=
state
;
}
public
String
getSort
()
{
return
Sort
;
}
public
void
setSort
(
String
sort
)
{
Sort
=
sort
;
}
public
Boolean
getEnabled
()
{
return
Enabled
;
}
public
void
setEnabled
(
Boolean
enabled
)
{
Enabled
=
enabled
;
}
public
String
getType
()
{
return
Type
;
}
public
void
setType
(
String
type
)
{
Type
=
type
;
}
}
\ No newline at end of file
src/com/jsh/model/po/InOutItem.hbm.xml
deleted
100644 → 0
View file @
0b41f71a
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.InOutItem"
table=
"jsh_inoutitem"
>
<id
name=
"Id"
type=
"java.lang.Long"
>
<column
name=
"Id"
/>
<generator
class=
"native"
/>
</id>
<property
generated=
"never"
lazy=
"false"
name=
"Name"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Name"
>
<comment>
名称
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Type"
type=
"java.lang.String"
>
<column
length=
"20"
name=
"Type"
>
<comment>
类型
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Remark"
type=
"java.lang.String"
>
<column
length=
"100"
name=
"Remark"
>
<comment>
备注
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/InOutItem.java
deleted
100644 → 0
View file @
0b41f71a
package
com.jsh.model.po
;
@SuppressWarnings
(
"serial"
)
public
class
InOutItem
implements
java
.
io
.
Serializable
{
private
Long
Id
;
private
String
Name
;
private
String
Type
;
private
String
Remark
;
public
InOutItem
()
{
}
public
InOutItem
(
Long
Id
)
{
this
.
Id
=
Id
;
}
public
InOutItem
(
String
name
,
String
type
,
String
remark
)
{
Name
=
name
;
Type
=
type
;
Remark
=
remark
;
}
public
void
setId
(
Long
id
)
{
Id
=
id
;
}
public
Long
getId
()
{
return
Id
;
}
public
void
setName
(
String
name
)
{
Name
=
name
;
}
public
String
getName
()
{
return
Name
;
}
public
void
setType
(
String
type
)
{
Type
=
type
;
}
public
String
getType
()
{
return
Type
;
}
public
void
setRemark
(
String
remark
)
{
Remark
=
remark
;
}
public
String
getRemark
()
{
return
Remark
;
}
}
src/com/jsh/model/po/Logdetails.hbm.xml
deleted
100644 → 0
View file @
0b41f71a
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Logdetails"
table=
"jsh_log"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
</id>
<many-to-one
name=
"user"
class=
"com.jsh.model.po.Basicuser"
lazy=
"false"
>
<column
name=
"userID"
not-null=
"true"
/>
</many-to-one>
<property
name=
"operation"
type=
"java.lang.String"
>
<column
name=
"operation"
length=
"500"
>
<comment>
操作模块名称
</comment>
</column>
</property>
<property
name=
"clientIp"
type=
"java.lang.String"
>
<column
name=
"clientIP"
length=
"50"
>
<comment>
客户端IP
</comment>
</column>
</property>
<property
name=
"createtime"
type=
"java.sql.Timestamp"
>
<column
name=
"createtime"
length=
"19"
>
<comment>
创建时间
</comment>
</column>
</property>
<property
name=
"status"
type=
"java.lang.Short"
>
<column
name=
"status"
>
<comment>
操作状态 0==成功,1==失败
</comment>
</column>
</property>
<property
name=
"contentdetails"
type=
"java.lang.String"
>
<column
name=
"contentdetails"
length=
"1000"
>
<comment>
操作详情
</comment>
</column>
</property>
<property
name=
"remark"
type=
"java.lang.String"
>
<column
name=
"remark"
length=
"500"
>
<comment>
备注信息
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/Logdetails.java
deleted
100644 → 0
View file @
0b41f71a
package
com.jsh.model.po
;
import
java.sql.Timestamp
;
@SuppressWarnings
(
"serial"
)
public
class
Logdetails
implements
java
.
io
.
Serializable
{
private
Long
id
;
private
Basicuser
user
;
private
String
operation
;
private
String
clientIp
;
private
Timestamp
createtime
;
private
Short
status
;
private
String
contentdetails
;
private
String
remark
;
public
Logdetails
()
{
}
public
Logdetails
(
Long
id
)
{
this
.
id
=
id
;
}
public
Logdetails
(
Basicuser
user
,
String
operation
,
String
clientIp
,
Timestamp
createtime
,
Short
status
,
String
contentdetails
,
String
remark
)
{
this
.
user
=
user
;
this
.
operation
=
operation
;
this
.
clientIp
=
clientIp
;
this
.
createtime
=
createtime
;
this
.
status
=
status
;
this
.
contentdetails
=
contentdetails
;
this
.
remark
=
remark
;
}
public
Long
getId
()
{
return
this
.
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
Basicuser
getUser
()
{
return
user
;
}
public
void
setUser
(
Basicuser
user
)
{
this
.
user
=
user
;
}
public
String
getOperation
()
{
return
this
.
operation
;
}
public
void
setOperation
(
String
operation
)
{
this
.
operation
=
operation
;
}
public
String
getClientIp
()
{
return
this
.
clientIp
;
}
public
void
setClientIp
(
String
clientIp
)
{
this
.
clientIp
=
clientIp
;
}
public
Timestamp
getCreatetime
()
{
return
this
.
createtime
;
}
public
void
setCreatetime
(
Timestamp
createtime
)
{
this
.
createtime
=
createtime
;
}
public
Short
getStatus
()
{
return
this
.
status
;
}
public
void
setStatus
(
Short
status
)
{
this
.
status
=
status
;
}
public
String
getContentdetails
()
{
return
this
.
contentdetails
;
}
public
void
setContentdetails
(
String
contentdetails
)
{
this
.
contentdetails
=
contentdetails
;
}
public
String
getRemark
()
{
return
this
.
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
}
\ No newline at end of file
src/com/jsh/model/po/Material.hbm.xml
deleted
100644 → 0
View file @
0b41f71a
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Material"
table=
"jsh_material"
>
<id
name=
"Id"
type=
"java.lang.Long"
>
<column
name=
"Id"
/>
<generator
class=
"native"
/>
</id>
<many-to-one
name=
"materialCategory"
class=
"com.jsh.model.po.MaterialCategory"
lazy=
"false"
>
<column
name=
"CategoryId"
/>
</many-to-one>
<property
generated=
"never"
lazy=
"false"
name=
"Name"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Name"
>
<comment>
名称
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Model"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Model"
>
<comment>
型号
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Color"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Color"
>
<comment>
颜色
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Unit"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Unit"
>
<comment>
单位
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"RetailPrice"
type=
"java.lang.Double"
>
<column
name=
"RetailPrice"
precision=
"22"
scale=
"3"
>
<comment>
零售价
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"LowPrice"
type=
"java.lang.Double"
>
<column
name=
"LowPrice"
precision=
"22"
scale=
"3"
>
<comment>
最低售价
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"PresetPriceOne"
type=
"java.lang.Double"
>
<column
name=
"PresetPriceOne"
precision=
"22"
scale=
"3"
>
<comment>
预设售价一
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"PresetPriceTwo"
type=
"java.lang.Double"
>
<column
name=
"PresetPriceTwo"
precision=
"22"
scale=
"3"
>
<comment>
预设售价二
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Remark"
type=
"java.lang.String"
>
<column
length=
"100"
name=
"Remark"
>
<comment>
备注
</comment>
</column>
</property>
</class>
</hibernate-mapping>
Prev
1
2
3
4
5
6
7
8
9
…
11
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment