admin
2021-02-06 e2c6372f29ae0a93d9f672ffad4613581ba3e201
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?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>