<?xml version='1.0' encoding='UTF-8'?>
|
<!DOCTYPE hibernate-mapping PUBLIC
|
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
<hibernate-mapping package="com.newvideo.domain">
|
<class name="VideoInfo" table="wk_video_video" lazy="false">
|
<id name="id" column="id">
|
<generator class="identity"></generator>
|
</id>
|
|
<property name="tag" type="string" column="tag"></property>
|
<property name="totalNumber" type="string" column="totalnumber"></property>
|
<property name="createtime" type="long"></property>
|
<property name="updatetime" type="string"></property>
|
<property name="picture" type="string"></property>
|
<property name="name" type="string"></property>
|
<property name="introduction" type="string"></property>
|
<property name="duration" type="string"></property>
|
<property name="mainActor" column="mainactor" type="string"></property>
|
<property name="year" type="string"></property>
|
<property name="beizhu" type="string"></property>
|
<property name="qulity" type="string"></property>
|
<property name="score" type="string"></property>
|
<property name="share" column="`share`" type="string"></property>
|
<property name="show" column="`show`" type="string"></property>
|
<property name="watchCount" column="watchcount" type="string"></property>
|
<property name="orderby" type="string"></property>
|
<property name="nowNumber" type="string" column="nownumber"></property>
|
<property name="finish" type="string"></property>
|
<property name="baseurl" type="string"></property>
|
<property name="month" type="string"></property>
|
<property name="day" type="string"></property>
|
<property name="area" type="string"></property>
|
<property name="focus" type="string"></property>
|
<property name="leafctgs" type="string"></property>
|
<property name="director" type="string"></property>
|
<property name="keyword" type="string"></property>
|
<property name="vpicture" type="string"></property>
|
<property name="hpicture" type="string"></property>
|
|
<property name="latestHpicture" column="latest_hpicture"
|
type="string"></property>
|
<property name="latestVpicture" column="latest_vpicture"
|
type="string"></property>
|
|
<property name="contentType" column="contenttype" type="integer"></property>
|
<property name="canSave" type="boolean" column="issave"></property>
|
<many-to-one name="admin" column="adminid" lazy="false"></many-to-one>
|
|
<bag name="videoDetailList" cascade="none" inverse="true" lazy="false">
|
<key column="videoid" not-null="true"></key>
|
<one-to-many class="VideoDetailInfo" />
|
</bag>
|
|
<property name="commentCount" type="integer" column="commentcount"></property>
|
<property name="latestWatchCount" type="integer" column="latestwatchcount"></property>
|
<property name="videocount" type="integer" column="videocount"></property>
|
|
</class>
|
|
|
|
|
|
|
</hibernate-mapping>
|