|
@@ -9,6 +9,7 @@ package cn.efunbox.model;
|
|
public class Click {
|
|
public class Click {
|
|
|
|
|
|
private int id; //唯一编号
|
|
private int id; //唯一编号
|
|
|
|
+ private int type; //系统类型 1、少儿院线推荐节目
|
|
private int age; //年龄:1-99
|
|
private int age; //年龄:1-99
|
|
private int sex; //性别:1为男,2为女
|
|
private int sex; //性别:1为男,2为女
|
|
private String film_code;//电影编号
|
|
private String film_code;//电影编号
|
|
@@ -31,6 +32,7 @@ public class Click {
|
|
/*
|
|
/*
|
|
CREATE TABLE `film_click` (
|
|
CREATE TABLE `film_click` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '唯一编号',
|
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '唯一编号',
|
|
|
|
+ `type` int(5) DEFAULT '0' COMMENT '系统类型 1、少儿院线推荐节目',
|
|
`age` int(5) DEFAULT '0' 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 '电影编号',
|
|
@@ -55,34 +57,7 @@ public class Click {
|
|
KEY `film_type` (`film_type`)
|
|
KEY `film_type` (`film_type`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='节目点击观看记录';
|
|
) 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
|
|
*/
|
|
*/
|
|
@@ -98,6 +73,20 @@ public class Click {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @return the type
|
|
|
|
+ */
|
|
|
|
+ public int getType() {
|
|
|
|
+ return type;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param type the type to set
|
|
|
|
+ */
|
|
|
|
+ public void setType(int type) {
|
|
|
|
+ this.type = type;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
* @return the age
|
|
* @return the age
|
|
*/
|
|
*/
|
|
public int getAge() {
|
|
public int getAge() {
|