ulysseskao
2016-04-29 bcb4a4c4c2ba29045ed4727fc693b339770703cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping namespace="CCSTrace.TPower.DMMS.Model.CCS" xmlns="urn:nhibernate-mapping-2.2">
  <class name="ALARMIP" table="ALARM_IP" schema="CCS">
    <id name="DEPTID" type="Int32">
      <column name="DEPTID" not-null="true" precision="5" scale="0" sql-type="NUMBER(5)" unique="true" />
      <generator class="assigned" />
    </id>
    <property name="IP1" type="String">
      <column name="IP1" not-null="true" length="20" sql-type="VARCHAR2(20 CHAR)" />
    </property>
    <property name="IP2" type="String">
      <column name="IP2" not-null="false" length="20" sql-type="VARCHAR2(20 CHAR)" />
    </property>
    <property name="IPPATROL" type="String">
      <column name="IP_PATROL" not-null="true" length="20" sql-type="VARCHAR2(20 CHAR)" />
    </property>
  </class>
</hibernate-mapping>