|
@@ -29,21 +29,59 @@ public class Click {
|
|
private int created; //创建时间
|
|
private int created; //创建时间
|
|
|
|
|
|
/*
|
|
/*
|
|
- CREATE TABLE `efunbox_click` (
|
|
|
|
|
|
+ CREATE TABLE `film_click` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '唯一编号',
|
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '唯一编号',
|
|
- `age` int(5) DEFAULT '5' COMMENT '年龄:1-99',
|
|
|
|
|
|
+ `age` int(5) DEFAULT '0' COMMENT '年龄:1-99',
|
|
`sex` int(2) DEFAULT '1' COMMENT '性别:1为男,2为女',
|
|
`sex` int(2) DEFAULT '1' COMMENT '性别:1为男,2为女',
|
|
`film_code` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '电影编号',
|
|
`film_code` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '电影编号',
|
|
- `times` int(10) DEFAULT '1' COMMENT '点击次数',
|
|
|
|
- `score` int(10) DEFAULT '1' COMMENT '排序得分',
|
|
|
|
- `status` int(5) DEFAULT '1' COMMENT '是否显示:1为显示,-1为隐藏',
|
|
|
|
- `updated` int(10) DEFAULT '0' COMMENT '上次更新排序时间',
|
|
|
|
|
|
+ `film_type` int(2) DEFAULT '1' COMMENT '电影类型 1、电影 2:剧集',
|
|
|
|
+ `mark_type` int(2) DEFAULT '0' COMMENT '角标类型 1:new',
|
|
|
|
+ `is_vip` int(2) DEFAULT '0' COMMENT '是否为vip 1:是',
|
|
|
|
+ `film_grade` float(4,2) DEFAULT '5' COMMENT '电影评分',
|
|
|
|
+ `film_star` float(4,2) DEFAULT '5' COMMENT '电影评星',
|
|
|
|
+ `age_group` int(5) DEFAULT '0' COMMENT '适用年龄段',
|
|
|
|
+ `series_count` int(5) DEFAULT '1' COMMENT '集数,电影为1',
|
|
|
|
+ `publish_date` int(10) DEFAULT '0' COMMENT '发行时间',
|
|
|
|
+ `online_date` int(10) DEFAULT '0' COMMENT '上线时间',
|
|
|
|
+ `area` int(5) DEFAULT '0' COMMENT '地区',
|
|
|
|
+ `movie_type` int(5) DEFAULT '0' COMMENT '类型',
|
|
|
|
+ `target_people` int(5) DEFAULT '0' COMMENT '适合人群',
|
|
|
|
+ `language` int(5) DEFAULT '0' COMMENT '语言',
|
|
|
|
+ `duration` int(5) DEFAULT '0' COMMENT '电影时长,分钟',
|
|
`created` int(10) DEFAULT '0' COMMENT '创建时间',
|
|
`created` int(10) DEFAULT '0' COMMENT '创建时间',
|
|
PRIMARY KEY (`id`),
|
|
PRIMARY KEY (`id`),
|
|
KEY `age_sex` (`age`,`sex`),
|
|
KEY `age_sex` (`age`,`sex`),
|
|
- KEY `score` (`score`)
|
|
|
|
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='推荐节目统计结果';
|
|
|
|
|
|
+ KEY `film_code` (`film_code`),
|
|
|
|
+ KEY `film_type` (`film_type`)
|
|
|
|
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='节目点击观看记录';
|
|
*/
|
|
*/
|
|
|
|
+
|
|
|
|
+ /*
|
|
|
|
+ CREATE TABLE `film_info` (
|
|
|
|
+ `codes` varchar(10) NOT NULL COMMENT '电影编号',
|
|
|
|
+ `names` varchar(30) DEFAULT NULL COMMENT '电影名称',
|
|
|
|
+ `english_name` varchar(50) DEFAULT NULL COMMENT '英语名称',
|
|
|
|
+ `simple_desc` varchar(30) DEFAULT NULL COMMENT '一句话描述',
|
|
|
|
+ `film_type` tinyint(2) DEFAULT NULL COMMENT '电影类型 1、电影 2:剧集',
|
|
|
|
+ `mark_type` tinyint(2) DEFAULT NULL COMMENT '角标类型 1:new',
|
|
|
|
+ `is_vip` tinyint(2) DEFAULT NULL COMMENT '是否为vip 1:是',
|
|
|
|
+ `film_grade` float(4,2) DEFAULT NULL COMMENT '电影评分',
|
|
|
|
+ `film_star` float(4,2) DEFAULT NULL COMMENT '电影评星',
|
|
|
|
+ `age_group` tinyint(3) DEFAULT NULL COMMENT '适用年龄段',
|
|
|
|
+ `series_count` smallint(4) DEFAULT NULL COMMENT '集数,电影为1',
|
|
|
|
+ `publish_date` date DEFAULT NULL COMMENT '发行时间',
|
|
|
|
+ `publis_company` varchar(50) DEFAULT NULL COMMENT '出品公司',
|
|
|
|
+ `area` varchar(50) DEFAULT NULL COMMENT '地区',
|
|
|
|
+ `movie_type` varchar(50) DEFAULT NULL COMMENT '类型',
|
|
|
|
+ `target_people` varchar(50) DEFAULT NULL COMMENT '适合人群',
|
|
|
|
+ `language` varchar(10) DEFAULT NULL COMMENT '语言',
|
|
|
|
+ `introduce` text COMMENT '详细介绍',
|
|
|
|
+ `duration` smallint(5) DEFAULT NULL COMMENT '电影时长,分钟',
|
|
|
|
+ `icon_url` varchar(50) DEFAULT NULL,
|
|
|
|
+ `background_url` varchar(50) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`codes`)
|
|
|
|
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
+ */
|
|
|
|
|
|
/**
|
|
/**
|
|
* @return the id
|
|
* @return the id
|
|
@@ -214,20 +252,6 @@ public class Click {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @return the online_date
|
|
|
|
- */
|
|
|
|
- public int getonline_date() {
|
|
|
|
- return online_date;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * @param online_date the online_date to set
|
|
|
|
- */
|
|
|
|
- public void setonline_date(int online_date) {
|
|
|
|
- this.online_date = online_date;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
* @return the area
|
|
* @return the area
|
|
*/
|
|
*/
|
|
public int getArea() {
|
|
public int getArea() {
|
|
@@ -284,6 +308,20 @@ public class Click {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @return the online_date
|
|
|
|
+ */
|
|
|
|
+ public int getOnline_date() {
|
|
|
|
+ return online_date;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param online_date the online_date to set
|
|
|
|
+ */
|
|
|
|
+ public void setOnline_date(int online_date) {
|
|
|
|
+ this.online_date = online_date;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
* @return the duration
|
|
* @return the duration
|
|
*/
|
|
*/
|
|
public int getDuration() {
|
|
public int getDuration() {
|