[xoops-cvslog 2966] CVS update: xoops2jp/html/modules/base/.xml/data

Back to archive index

Minahito minah****@users*****
2006年 5月 9日 (火) 19:19:25 JST


Index: xoops2jp/html/modules/base/.xml/data/imagecategory.cbs.xml
diff -u /dev/null xoops2jp/html/modules/base/.xml/data/imagecategory.cbs.xml:1.1.2.1
--- /dev/null	Tue May  9 19:19:25 2006
+++ xoops2jp/html/modules/base/.xml/data/imagecategory.cbs.xml	Tue May  9 19:19:25 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<cubson-mapping>
+  <class name="imagecategory">
+    <id name="imgcat_id" type="XOBJ_DTYPE_INT" column="imgcat_id">
+      <generator type="increment" />
+    </id>
+    <property name="imgcat_name" type="XOBJ_DTYPE_STRING" column="imgcat_name" not-null="true" length="100" />
+    <property name="imgcat_maxsize" type="XOBJ_DTYPE_INT" column="imgcat_maxsize" not-null="true" default="50000" />
+    <property name="imgcat_maxwidth" type="XOBJ_DTYPE_INT" column="imgcat_maxwidth" not-null="true" default="120" />
+    <property name="imgcat_maxheight" type="XOBJ_DTYPE_INT" column="imgcat_maxheight" not-null="true" default="120" />
+    <property name="imgcat_display" type="XOBJ_DTYPE_BOOL" column="imgcat_display" not-null="true" default="1" />
+    <property name="imgcat_weight" type="XOBJ_DTYPE_INT" column="imgcat_weight" not-null="true" default="0" />
+    <property name="imgcat_type" type="XOBJ_DTYPE_STRING" column="imgcat_type" not-null="true" length="1" default="C" />
+    <property name="imgcat_storetype" type="XOBJ_DTYPE_STRING" column="imgcat_storetype" not-null="true" length="5" default="file" />
+    <set name="mImage">
+      <key>
+        <column name="imagecat_id" />
+      </key>
+      <one-to-many class="Entity.image" />
+    </set>
+  </class>
+</cubson-mapping>
\ No newline at end of file
Index: xoops2jp/html/modules/base/.xml/data/image.cbs.xml
diff -u /dev/null xoops2jp/html/modules/base/.xml/data/image.cbs.xml:1.1.2.1
--- /dev/null	Tue May  9 19:19:25 2006
+++ xoops2jp/html/modules/base/.xml/data/image.cbs.xml	Tue May  9 19:19:25 2006
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<cubson-mapping>
+  <class name="image">
+    <id name="image_id" type="XOBJ_DTYPE_INT" column="image_id">
+      <generator type="increment" />
+    </id>
+    <property name="image_name" type="XOBJ_DTYPE_STRING" column="image_name" not-null="true" length="30" />
+    <property name="image_nicename" type="XOBJ_DTYPE_STRING" column="image_nicename" not-null="true" length="255" />
+    <property name="image_mimetype" type="XOBJ_DTYPE_STRING" column="image_mimetype" not-null="true" length="30" />
+    <property name="image_created" type="XOBJ_DTYPE_INT" column="image_created" not-null="true" default="0" />
+    <property name="image_display" type="XOBJ_DTYPE_BOOL" column="image_display" not-null="true" default="0" />
+    <property name="image_weight" type="XOBJ_DTYPE_INT" column="image_weight" not-null="true" default="0" />
+    <property name="imgcat_id" type="XOBJ_DTYPE_INT" column="imgcat_id" not-null="true" default="0" />
+    <many-to-one name="mImageCategory" column="imgcat_id" class="Entity.imagecategory" />
+  </class>
+</cubson-mapping>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Back to archive index