去掉多余的代码,整理数据库表名称
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<!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="ams_t_basicuser">
|
||||
<class name="com.jsh.model.po.Basicuser" table="jsh_user">
|
||||
<id name="id" type="java.lang.Long">
|
||||
<column name="id" />
|
||||
<generator class="native" />
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!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="ams_t_depot">
|
||||
<class name="com.jsh.model.po.Depot" table="jsh_depot">
|
||||
<id name="id" type="java.lang.Long">
|
||||
<column name="id"/>
|
||||
<generator class="native"/>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!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="ams_t_logdetails">
|
||||
<class name="com.jsh.model.po.Logdetails" table="jsh_log">
|
||||
<id name="id" type="java.lang.Long">
|
||||
<column name="id" />
|
||||
<generator class="native" />
|
||||
|
||||
@@ -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.Measureunit" table="ams_t_measureunit">
|
||||
<id name="id" type="java.lang.Long">
|
||||
<column name="id" />
|
||||
<generator class="native" />
|
||||
</id>
|
||||
<property name="unitname" type="java.lang.String">
|
||||
<column name="unitname" length="30" not-null="true">
|
||||
<comment>计量名称</comment>
|
||||
</column>
|
||||
</property>
|
||||
<property name="description" type="java.lang.String">
|
||||
<column name="description" length="500">
|
||||
<comment>计量描述</comment>
|
||||
</column>
|
||||
</property>
|
||||
<property name="isystem" type="java.lang.Short">
|
||||
<column name="isystem" not-null="true">
|
||||
<comment>是否系统自带 0==系统 1==非系统</comment>
|
||||
</column>
|
||||
</property>
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
@@ -1,72 +0,0 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Measureunit implements java.io.Serializable
|
||||
{
|
||||
private Long id;
|
||||
private String unitname;
|
||||
private String description;
|
||||
private Short isystem;
|
||||
|
||||
public Measureunit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Measureunit(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Measureunit(String unitname, Timestamp createtime, Long creator,
|
||||
Timestamp updatetime, Long updator, String description,
|
||||
Short isystem)
|
||||
{
|
||||
this.unitname = unitname;
|
||||
this.description = description;
|
||||
this.isystem = isystem;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getUnitname()
|
||||
{
|
||||
return this.unitname;
|
||||
}
|
||||
|
||||
public void setUnitname(String unitname)
|
||||
{
|
||||
this.unitname = unitname;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Short getIsystem()
|
||||
{
|
||||
return this.isystem;
|
||||
}
|
||||
|
||||
public void setIsystem(Short isystem)
|
||||
{
|
||||
this.isystem = isystem;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
<!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.Supplier" table="ams_t_supplier">
|
||||
<class name="com.jsh.model.po.Supplier" table="jsh_supplier">
|
||||
<id name="id" type="java.lang.Long">
|
||||
<column name="id" />
|
||||
<generator class="native"/>
|
||||
|
||||
Reference in New Issue
Block a user