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
43636890
Commit
43636890
authored
Mar 04, 2018
by
季圣华
Browse files
去掉多余的代码
parent
7e334980
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/model/po/Assetcategory.java
deleted
100644 → 0
View file @
7e334980
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/main/resources/hibernate/Assetcategory.hbm.xml
deleted
100644 → 0
View file @
7e334980
<?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.Assetcategory"
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>
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