Minahito
minah****@users*****
2006年 4月 24日 (月) 16:29:39 JST
Index: xoops2jp/html/modules/legacyRender/.xml/data/bannerfinish.cbs.xml diff -u /dev/null xoops2jp/html/modules/legacyRender/.xml/data/bannerfinish.cbs.xml:1.1.2.1 --- /dev/null Mon Apr 24 16:29:39 2006 +++ xoops2jp/html/modules/legacyRender/.xml/data/bannerfinish.cbs.xml Mon Apr 24 16:29:39 2006 @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<cubson-mapping> + <class name="bannerfinish"> + <id name="bid" type="XOBJ_DTYPE_INT" column="bid"> + <generator type="increment" /> + </id> + <property name="cid" type="XOBJ_DTYPE_INT" column="cid" not-null="true" default="0" /> + <property name="impressions" type="XOBJ_DTYPE_INT" column="impressions" not-null="true" default="0" /> + <property name="clicks" type="XOBJ_DTYPE_INT" column="clicks" not-null="true" default="0" /> + <property name="datestart" type="XOBJ_DTYPE_INT" column="datestart" not-null="true" default="0" /> + <property name="dateend" type="XOBJ_DTYPE_INT" column="dateend" not-null="true" default="0" /> + <many-to-one name="mClient" column="cid" class="Entity.bannerclient" /> + </class> +</cubson-mapping> \ No newline at end of file Index: xoops2jp/html/modules/legacyRender/.xml/data/banner.cbs.xml diff -u /dev/null xoops2jp/html/modules/legacyRender/.xml/data/banner.cbs.xml:1.1.2.1 --- /dev/null Mon Apr 24 16:29:39 2006 +++ xoops2jp/html/modules/legacyRender/.xml/data/banner.cbs.xml Mon Apr 24 16:29:39 2006 @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<cubson-mapping> + <class name="banner"> + <id name="bid" type="XOBJ_DTYPE_INT" column="bid"> + <generator type="increment" /> + </id> + <property name="cid" type="XOBJ_DTYPE_INT" column="cid" not-null="true" default="0" /> + <property name="imptotal" type="XOBJ_DTYPE_INT" column="imptotal" not-null="true" default="0" /> + <property name="impmade" type="XOBJ_DTYPE_INT" column="impmade" not-null="true" default="0" /> + <property name="clicks" type="XOBJ_DTYPE_INT" column="clicks" not-null="true" default="0" /> + <property name="imageurl" type="XOBJ_DTYPE_STRING" column="imageurl" not-null="true" length="255" /> + <property name="clickurl" type="XOBJ_DTYPE_STRING" column="clickurl" not-null="true" length="255" /> + <property name="date" type="XOBJ_DTYPE_INT" column="date" not-null="true" default="0" /> + <property name="htmlbanner" type="XOBJ_DTYPE_BOOL" column="htmlbanner" not-null="true" default="0" /> + <property name="htmlcode" type="XOBJ_DTYPE_TEXT" column="htmlcode" not-null="true" /> + <many-to-one name="mClient" column="cid" class="Entity.bannerclient" /> + </class> +</cubson-mapping> \ No newline at end of file Index: xoops2jp/html/modules/legacyRender/.xml/data/bannerclient.cbs.xml diff -u /dev/null xoops2jp/html/modules/legacyRender/.xml/data/bannerclient.cbs.xml:1.1.2.1 --- /dev/null Mon Apr 24 16:29:39 2006 +++ xoops2jp/html/modules/legacyRender/.xml/data/bannerclient.cbs.xml Mon Apr 24 16:29:39 2006 @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<cubson-mapping> + <class name="bannerclient"> + <id name="cid" type="XOBJ_DTYPE_INT" column="cid"> + <generator type="increment" /> + </id> + <property name="name" type="XOBJ_DTYPE_STRING" column="name" not-null="true" length="60" /> + <property name="contact" type="XOBJ_DTYPE_STRING" column="contact" not-null="true" length="60" /> + <property name="email" type="XOBJ_DTYPE_STRING" column="email" not-null="true" length="60" /> + <property name="login" type="XOBJ_DTYPE_STRING" column="login" not-null="true" length="10" /> + <property name="passwd" type="XOBJ_DTYPE_STRING" column="passwd" not-null="true" length="10" /> + <property name="extrainfo" type="XOBJ_DTYPE_TEXT" column="extrainfo" not-null="true" /> + <set name="mBanners"> + <key> + <column name="cid" /> + </key> + <one-to-many class="Entity.banner" /> + </set> + <set name="mFinishBanners"> + <key> + <column name="cid" /> + </key> + <one-to-many class="Entity.bannerfinish" /> + </set> + </class> +</cubson-mapping> \ No newline at end of file