Commit 43636890 authored by 季圣华's avatar 季圣华
Browse files

去掉多余的代码

parent 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
<?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>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment