去掉多余的代码

This commit is contained in:
季圣华
2018-03-04 23:28:01 +08:00
parent 7e3349809e
commit 4363689098
2 changed files with 0 additions and 93 deletions

View File

@@ -1,67 +0,0 @@
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;
}
}

View File

@@ -1,26 +0,0 @@
<?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>