Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
member-api
Commits
28491703
Commit
28491703
authored
Dec 28, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
f582413f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
346 additions
and
1491 deletions
+346
-1491
AdminUserServiceImpl.java
...com/egolm/film/api/service/impl/AdminUserServiceImpl.java
+4
-1
WebUtilController.java
.../java/com/egolm/film/api/web/admin/WebUtilController.java
+6
-11
Enum_doubtful.java
src/main/java/com/egolm/film/bean/Enum_doubtful.java
+4
-17
Enum_enroll.java
src/main/java/com/egolm/film/bean/Enum_enroll.java
+5
-28
Enum_filmtype.java
src/main/java/com/egolm/film/bean/Enum_filmtype.java
+5
-28
Fc_admin.java
src/main/java/com/egolm/film/bean/Fc_admin.java
+15
-75
Fc_admin_group.java
src/main/java/com/egolm/film/bean/Fc_admin_group.java
+9
-48
Fc_admin_group_filmtype.java
...ain/java/com/egolm/film/bean/Fc_admin_group_filmtype.java
+4
-17
Fc_admin_group_menu.java
src/main/java/com/egolm/film/bean/Fc_admin_group_menu.java
+4
-17
Fc_admin_menu.java
src/main/java/com/egolm/film/bean/Fc_admin_menu.java
+11
-34
Fc_email_record.java
src/main/java/com/egolm/film/bean/Fc_email_record.java
+10
-47
Fc_film_group.java
src/main/java/com/egolm/film/bean/Fc_film_group.java
+6
-21
Fc_logs.java
src/main/java/com/egolm/film/bean/Fc_logs.java
+11
-31
Fc_logs_ext.java
src/main/java/com/egolm/film/bean/Fc_logs_ext.java
+4
-17
Fc_member.java
src/main/java/com/egolm/film/bean/Fc_member.java
+18
-90
Fc_member_film.java
src/main/java/com/egolm/film/bean/Fc_member_film.java
+75
-375
Fc_member_film_enroll.java
src/main/java/com/egolm/film/bean/Fc_member_film_enroll.java
+4
-17
Fc_member_film_issuer.java
src/main/java/com/egolm/film/bean/Fc_member_film_issuer.java
+9
-42
Fc_member_film_playactor.java
...in/java/com/egolm/film/bean/Fc_member_film_playactor.java
+12
-57
Fc_member_film_show.java
src/main/java/com/egolm/film/bean/Fc_member_film_show.java
+9
-42
Fc_review.java
src/main/java/com/egolm/film/bean/Fc_review.java
+12
-54
Fc_review_doubtful.java
src/main/java/com/egolm/film/bean/Fc_review_doubtful.java
+8
-37
Fc_review_history.java
src/main/java/com/egolm/film/bean/Fc_review_history.java
+9
-39
Fc_review_record.java
src/main/java/com/egolm/film/bean/Fc_review_record.java
+16
-65
Fc_review_record_ext.java
src/main/java/com/egolm/film/bean/Fc_review_record_ext.java
+6
-33
Fc_user.java
src/main/java/com/egolm/film/bean/Fc_user.java
+23
-115
Fc_user_group.java
src/main/java/com/egolm/film/bean/Fc_user_group.java
+9
-48
Fc_user_group_fun.java
src/main/java/com/egolm/film/bean/Fc_user_group_fun.java
+4
-17
Export.java
src/main/java/com/egolm/film/util/Export.java
+34
-68
No files found.
src/main/java/com/egolm/film/api/service/impl/AdminUserServiceImpl.java
View file @
28491703
...
@@ -68,7 +68,10 @@ public class AdminUserServiceImpl implements AdminUserService {
...
@@ -68,7 +68,10 @@ public class AdminUserServiceImpl implements AdminUserService {
jdbcTemplate
.
executeUpdate
(
"delete from fc_user_group_fun where group_id = ?"
,
group_id
);
jdbcTemplate
.
executeUpdate
(
"delete from fc_user_group_fun where group_id = ?"
,
group_id
);
List
<
Fc_user_group_fun
>
list
=
new
ArrayList
<
Fc_user_group_fun
>();
List
<
Fc_user_group_fun
>
list
=
new
ArrayList
<
Fc_user_group_fun
>();
for
(
Integer
i
:
fun_id
)
{
for
(
Integer
i
:
fun_id
)
{
list
.
add
(
new
Fc_user_group_fun
(
group_id
,
i
));
Fc_user_group_fun
gf
=
new
Fc_user_group_fun
();
gf
.
setGroup_id
(
group_id
);
gf
.
setFun_id
(
i
);
list
.
add
(
gf
);
}
}
jdbcTemplate
.
batchSave
(
list
);
jdbcTemplate
.
batchSave
(
list
);
}
}
...
...
src/main/java/com/egolm/film/api/web/admin/WebUtilController.java
View file @
28491703
...
@@ -7,8 +7,6 @@ import java.util.ArrayList;
...
@@ -7,8 +7,6 @@ import java.util.ArrayList;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
javax.servlet.http.HttpServletResponse
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -33,7 +31,6 @@ import com.egolm.film.bean.Fc_logs_ext;
...
@@ -33,7 +31,6 @@ import com.egolm.film.bean.Fc_logs_ext;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film_enroll
;
import
com.egolm.film.bean.Fc_member_film_enroll
;
import
com.egolm.film.config.XRException
;
import
com.egolm.film.config.XRException
;
import
com.egolm.film.util.Export
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
...
@@ -78,14 +75,6 @@ public class WebUtilController {
...
@@ -78,14 +75,6 @@ public class WebUtilController {
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
();
}
}
@Transactional
@PostMapping
(
"exportExcel"
)
@ApiOperation
(
"导出Excel"
)
public
void
exportExcel
(
String
db_host
,
String
db_name
,
String
username
,
String
password
)
throws
SQLException
,
IOException
{
this
.
verifyAuth
();
new
Export
(
db_host
,
db_name
,
username
,
password
).
export
();
}
@ResponseBody
@ResponseBody
@Transactional
@Transactional
@PostMapping
(
"initAllEnrollType"
)
@PostMapping
(
"initAllEnrollType"
)
...
@@ -195,4 +184,10 @@ public class WebUtilController {
...
@@ -195,4 +184,10 @@ public class WebUtilController {
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
();
}
}
@Transactional
@PostMapping
(
"exportExcel"
)
@ApiOperation
(
"导出Excel"
)
public
void
exportExcel
(
String
db_host
,
String
db_name
,
String
username
,
String
password
)
throws
SQLException
,
IOException
{
this
.
verifyAuth
();
}
}
}
src/main/java/com/egolm/film/bean/Enum_doubtful.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,29 +14,14 @@ public class Enum_doubtful implements java.io.Serializable {
...
@@ -12,29 +14,14 @@ public class Enum_doubtful implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
id
;
private
Integer
id
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
doubtful_name
;
private
String
doubtful_name
;
/**
* 无参数构造方法
*/
public
Enum_doubtful
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param doubtful_name
*/
public
Enum_doubtful
(
Integer
id
,
String
doubtful_name
)
{
this
.
id
=
id
;
this
.
doubtful_name
=
doubtful_name
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Enum_enroll.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,42 +14,17 @@ public class Enum_enroll implements java.io.Serializable {
...
@@ -12,42 +14,17 @@ public class Enum_enroll implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '影片性质ID'"
)
* 影片性质ID
*/
@Id
@Id
private
Integer
enroll_type
;
private
Integer
enroll_type
;
/**
@Column
(
columnDefinition
=
"varchar(60) COMMENT '影片性质名称'"
)
* 影片性质名称
*/
private
String
enroll_type_name
;
private
String
enroll_type_name
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '上级ID'"
)
* 上级ID
*/
private
Integer
parent_id
;
private
Integer
parent_id
;
/**
* 无参数构造方法
*/
public
Enum_enroll
()
{
super
();
}
/**
* 全参数构造方法
* @param enroll_type 影片性质ID
* @param enroll_type_name 影片性质名称
* @param parent_id 上级ID
*/
public
Enum_enroll
(
Integer
enroll_type
,
String
enroll_type_name
,
Integer
parent_id
)
{
this
.
enroll_type
=
enroll_type
;
this
.
enroll_type_name
=
enroll_type_name
;
this
.
parent_id
=
parent_id
;
}
public
void
setEnroll_type
(
Integer
enroll_type
)
{
public
void
setEnroll_type
(
Integer
enroll_type
)
{
this
.
enroll_type
=
enroll_type
;
this
.
enroll_type
=
enroll_type
;
}
}
...
...
src/main/java/com/egolm/film/bean/Enum_filmtype.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,42 +14,17 @@ public class Enum_filmtype implements java.io.Serializable {
...
@@ -12,42 +14,17 @@ public class Enum_filmtype implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '影片类型ID'"
)
* 影片类型ID
*/
@Id
@Id
private
Integer
film_type
;
private
Integer
film_type
;
/**
@Column
(
columnDefinition
=
"varchar(60) COMMENT '影片类型名称'"
)
* 影片类型名称
*/
private
String
film_type_name
;
private
String
film_type_name
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '上级ID'"
)
* 上级ID
*/
private
Integer
parent_id
;
private
Integer
parent_id
;
/**
* 无参数构造方法
*/
public
Enum_filmtype
()
{
super
();
}
/**
* 全参数构造方法
* @param film_type 影片类型ID
* @param film_type_name 影片类型名称
* @param parent_id 上级ID
*/
public
Enum_filmtype
(
Integer
film_type
,
String
film_type_name
,
Integer
parent_id
)
{
this
.
film_type
=
film_type
;
this
.
film_type_name
=
film_type_name
;
this
.
parent_id
=
parent_id
;
}
public
void
setFilm_type
(
Integer
film_type
)
{
public
void
setFilm_type
(
Integer
film_type
)
{
this
.
film_type
=
film_type
;
this
.
film_type
=
film_type
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_admin.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,109 +14,47 @@ public class Fc_admin implements java.io.Serializable {
...
@@ -12,109 +14,47 @@ public class Fc_admin implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(10) unsigned'"
)
@Id
@Id
private
Integer
adminid
;
private
Integer
adminid
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '用户名'"
)
* 用户名
*/
private
String
username
;
private
String
username
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '密码'"
)
* 密码
*/
private
String
password
;
private
String
password
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '真实名称'"
)
* 真实名称
*/
private
String
realname
;
private
String
realname
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '随机数'"
)
* 随机数
*/
private
String
salt
;
private
String
salt
;
/**
@Column
(
columnDefinition
=
"bigint(20) unsigned COMMENT '创建时间'"
)
* 创建时间
*/
private
Long
create_time
;
private
Long
create_time
;
/**
@Column
(
columnDefinition
=
"varchar(50) COMMENT '创建ip'"
)
* 创建ip
*/
private
String
create_ip
;
private
String
create_ip
;
/**
@Column
(
columnDefinition
=
"bigint(20) unsigned COMMENT '登陆时间'"
)
* 登陆时间
*/
private
Long
login_time
;
private
Long
login_time
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '登陆ip'"
)
* 登陆ip
*/
private
String
login_ip
;
private
String
login_ip
;
/**
@Column
(
columnDefinition
=
"tinyint(2) unsigned COMMENT '状态 1正常 2禁用'"
)
* 状态 1正常 2禁用
*/
private
Integer
state
;
private
Integer
state
;
/**
@Column
(
columnDefinition
=
"int(10) unsigned COMMENT '管理员组'"
)
* 管理员组
*/
private
Integer
group_id
;
private
Integer
group_id
;
/**
@Column
(
columnDefinition
=
"int(10) unsigned COMMENT '创建者adminid'"
)
* 创建者adminid
*/
private
Integer
create_admin_id
;
private
Integer
create_admin_id
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '用户登陆 session_id'"
)
* 用户登陆 session_id
*/
private
String
token
;
private
String
token
;
/**
* 无参数构造方法
*/
public
Fc_admin
()
{
super
();
}
/**
* 全参数构造方法
* @param adminid
* @param username 用户名
* @param password 密码
* @param realname 真实名称
* @param salt 随机数
* @param create_time 创建时间
* @param create_ip 创建ip
* @param login_time 登陆时间
* @param login_ip 登陆ip
* @param state 状态 1正常 2禁用
* @param group_id 管理员组
* @param create_admin_id 创建者adminid
* @param token 用户登陆 session_id
*/
public
Fc_admin
(
Integer
adminid
,
String
username
,
String
password
,
String
realname
,
String
salt
,
Long
create_time
,
String
create_ip
,
Long
login_time
,
String
login_ip
,
Integer
state
,
Integer
group_id
,
Integer
create_admin_id
,
String
token
)
{
this
.
adminid
=
adminid
;
this
.
username
=
username
;
this
.
password
=
password
;
this
.
realname
=
realname
;
this
.
salt
=
salt
;
this
.
create_time
=
create_time
;
this
.
create_ip
=
create_ip
;
this
.
login_time
=
login_time
;
this
.
login_ip
=
login_ip
;
this
.
state
=
state
;
this
.
group_id
=
group_id
;
this
.
create_admin_id
=
create_admin_id
;
this
.
token
=
token
;
}
public
void
setAdminid
(
Integer
adminid
)
{
public
void
setAdminid
(
Integer
adminid
)
{
this
.
adminid
=
adminid
;
this
.
adminid
=
adminid
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_admin_group.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,70 +14,29 @@ public class Fc_admin_group implements java.io.Serializable {
...
@@ -12,70 +14,29 @@ public class Fc_admin_group implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
/**
@Column
(
columnDefinition
=
"int(10) unsigned COMMENT '用户组id'"
)
* 用户组id
*/
@Id
@Id
private
Integer
group_id
;
private
Integer
group_id
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '小组名称'"
)
* 小组名称
*/
private
String
group_name
;
private
String
group_name
;
/**
@Column
(
columnDefinition
=
"bigint(20) COMMENT '创建时间'"
)
* 创建时间
*/
private
Long
create_time
;
private
Long
create_time
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '创建者ip'"
)
* 创建者ip
*/
private
String
create_ip
;
private
String
create_ip
;
/**
@Column
(
columnDefinition
=
"int(10) COMMENT '创建者uid'"
)
* 创建者uid
*/
private
Integer
adminid
;
private
Integer
adminid
;
/**
@Column
(
columnDefinition
=
"tinyint(2) COMMENT '小组状态'"
)
* 小组状态
*/
private
Integer
state
;
private
Integer
state
;
/**
@Column
(
columnDefinition
=
"bigint(20) COMMENT '成员数量'"
)
* 成员数量
*/
private
Long
user_num
;
private
Long
user_num
;
/**
* 无参数构造方法
*/
public
Fc_admin_group
()
{
super
();
}
/**
* 全参数构造方法
* @param group_id 用户组id
* @param group_name 小组名称
* @param create_time 创建时间
* @param create_ip 创建者ip
* @param adminid 创建者uid
* @param state 小组状态
* @param user_num 成员数量
*/
public
Fc_admin_group
(
Integer
group_id
,
String
group_name
,
Long
create_time
,
String
create_ip
,
Integer
adminid
,
Integer
state
,
Long
user_num
)
{
this
.
group_id
=
group_id
;
this
.
group_name
=
group_name
;
this
.
create_time
=
create_time
;
this
.
create_ip
=
create_ip
;
this
.
adminid
=
adminid
;
this
.
state
=
state
;
this
.
user_num
=
user_num
;
}
public
void
setGroup_id
(
Integer
group_id
)
{
public
void
setGroup_id
(
Integer
group_id
)
{
this
.
group_id
=
group_id
;
this
.
group_id
=
group_id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_admin_group_filmtype.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,30 +14,15 @@ public class Fc_admin_group_filmtype implements java.io.Serializable {
...
@@ -12,30 +14,15 @@ public class Fc_admin_group_filmtype implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
group_id
;
private
Integer
group_id
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
film_type_id
;
private
Integer
film_type_id
;
/**
* 无参数构造方法
*/
public
Fc_admin_group_filmtype
()
{
super
();
}
/**
* 全参数构造方法
* @param group_id
* @param film_type_id
*/
public
Fc_admin_group_filmtype
(
Integer
group_id
,
Integer
film_type_id
)
{
this
.
group_id
=
group_id
;
this
.
film_type_id
=
film_type_id
;
}
public
void
setGroup_id
(
Integer
group_id
)
{
public
void
setGroup_id
(
Integer
group_id
)
{
this
.
group_id
=
group_id
;
this
.
group_id
=
group_id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_admin_group_menu.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,30 +14,15 @@ public class Fc_admin_group_menu implements java.io.Serializable {
...
@@ -12,30 +14,15 @@ public class Fc_admin_group_menu implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
menu_id
;
private
Integer
menu_id
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
group_id
;
private
Integer
group_id
;
/**
* 无参数构造方法
*/
public
Fc_admin_group_menu
()
{
super
();
}
/**
* 全参数构造方法
* @param menu_id
* @param group_id
*/
public
Fc_admin_group_menu
(
Integer
menu_id
,
Integer
group_id
)
{
this
.
menu_id
=
menu_id
;
this
.
group_id
=
group_id
;
}
public
void
setMenu_id
(
Integer
menu_id
)
{
public
void
setMenu_id
(
Integer
menu_id
)
{
this
.
menu_id
=
menu_id
;
this
.
menu_id
=
menu_id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_admin_menu.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,60 +14,35 @@ public class Fc_admin_menu implements java.io.Serializable {
...
@@ -12,60 +14,35 @@ public class Fc_admin_menu implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
menu_id
;
private
Integer
menu_id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '0 目录, 1 菜单, 2 按钮,其他功能'"
)
* 0 目录, 1 菜单, 2 按钮,其他功能
*/
private
Integer
menu_type
;
private
Integer
menu_type
;
@Column
(
columnDefinition
=
"int(11)'"
)
private
Integer
parent_id
;
private
Integer
parent_id
;
@Column
(
columnDefinition
=
"int(11)'"
)
private
Integer
order_num
;
private
Integer
order_num
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
menu_name
;
private
String
menu_name
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
menu_no
;
private
String
menu_no
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
menu_link
;
private
String
menu_link
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
menu_icon
;
private
String
menu_icon
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
remark
;
private
String
remark
;
/**
* 无参数构造方法
*/
public
Fc_admin_menu
()
{
super
();
}
/**
* 全参数构造方法
* @param menu_id
* @param menu_type 0 目录, 1 菜单, 2 按钮,其他功能
* @param parent_id
* @param order_num
* @param menu_name
* @param menu_no
* @param menu_link
* @param menu_icon
* @param remark
*/
public
Fc_admin_menu
(
Integer
menu_id
,
Integer
menu_type
,
Integer
parent_id
,
Integer
order_num
,
String
menu_name
,
String
menu_no
,
String
menu_link
,
String
menu_icon
,
String
remark
)
{
this
.
menu_id
=
menu_id
;
this
.
menu_type
=
menu_type
;
this
.
parent_id
=
parent_id
;
this
.
order_num
=
order_num
;
this
.
menu_name
=
menu_name
;
this
.
menu_no
=
menu_no
;
this
.
menu_link
=
menu_link
;
this
.
menu_icon
=
menu_icon
;
this
.
remark
=
remark
;
}
public
void
setMenu_id
(
Integer
menu_id
)
{
public
void
setMenu_id
(
Integer
menu_id
)
{
this
.
menu_id
=
menu_id
;
this
.
menu_id
=
menu_id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_email_record.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -14,71 +16,32 @@ public class Fc_email_record implements java.io.Serializable {
...
@@ -14,71 +16,32 @@ public class Fc_email_record implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
id
;
private
Integer
id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '发件人ID'"
)
* 发件人ID
*/
private
Integer
sender_id
;
private
Integer
sender_id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '0会员,1评委,2管理员'"
)
* 0会员,1评委,2管理员
*/
private
Integer
sender_type_id
;
private
Integer
sender_type_id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '发送状态 0未发送 1成功 2失败'"
)
* 发送状态 0未发送 1成功 2失败
*/
private
Integer
send_state
;
private
Integer
send_state
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '主题'"
)
* 主题
*/
private
String
subject
;
private
String
subject
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '收件邮箱'"
)
* 收件邮箱
*/
private
String
email
;
private
String
email
;
/**
@Column
(
columnDefinition
=
"text COMMENT '邮件内容'"
)
* 邮件内容
*/
private
String
content
;
private
String
content
;
@Column
(
columnDefinition
=
"datetime'"
)
private
Date
create_time
;
private
Date
create_time
;
/**
* 无参数构造方法
*/
public
Fc_email_record
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param sender_id 发件人ID
* @param sender_type_id 0会员,1评委,2管理员
* @param send_state 发送状态 0未发送 1成功 2失败
* @param subject 主题
* @param email 收件邮箱
* @param content 邮件内容
* @param create_time
*/
public
Fc_email_record
(
Integer
id
,
Integer
sender_id
,
Integer
sender_type_id
,
Integer
send_state
,
String
subject
,
String
email
,
String
content
,
Date
create_time
)
{
this
.
id
=
id
;
this
.
sender_id
=
sender_id
;
this
.
sender_type_id
=
sender_type_id
;
this
.
send_state
=
send_state
;
this
.
subject
=
subject
;
this
.
email
=
email
;
this
.
content
=
content
;
this
.
create_time
=
create_time
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_film_group.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,37 +14,20 @@ public class Fc_film_group implements java.io.Serializable {
...
@@ -12,37 +14,20 @@ public class Fc_film_group implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
id
;
private
Integer
id
;
@Column
(
columnDefinition
=
"int(11)'"
)
private
Integer
parent_id
;
private
Integer
parent_id
;
@Column
(
columnDefinition
=
"int(11)'"
)
private
Integer
order_num
;
private
Integer
order_num
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
group_name
;
private
String
group_name
;
/**
* 无参数构造方法
*/
public
Fc_film_group
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param parent_id
* @param order_num
* @param group_name
*/
public
Fc_film_group
(
Integer
id
,
Integer
parent_id
,
Integer
order_num
,
String
group_name
)
{
this
.
id
=
id
;
this
.
parent_id
=
parent_id
;
this
.
order_num
=
order_num
;
this
.
group_name
=
group_name
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_logs.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -14,57 +16,35 @@ public class Fc_logs implements java.io.Serializable {
...
@@ -14,57 +16,35 @@ public class Fc_logs implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"bigint(20)'"
)
@Id
@Id
private
Long
id
;
private
Long
id
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
type
;
private
String
type
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
loginid
;
private
String
loginid
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
prefix
;
private
String
prefix
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
path
;
private
String
path
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
ip
;
private
String
ip
;
@Column
(
columnDefinition
=
"text'"
)
private
String
content
;
private
String
content
;
@Column
(
columnDefinition
=
"text'"
)
private
String
user_agent
;
private
String
user_agent
;
@Column
(
columnDefinition
=
"datetime'"
)
private
Date
create_time
;
private
Date
create_time
;
/**
* 无参数构造方法
*/
public
Fc_logs
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param type
* @param loginid
* @param prefix
* @param path
* @param ip
* @param content
* @param user_agent
* @param create_time
*/
public
Fc_logs
(
Long
id
,
String
type
,
String
loginid
,
String
prefix
,
String
path
,
String
ip
,
String
content
,
String
user_agent
,
Date
create_time
)
{
this
.
id
=
id
;
this
.
type
=
type
;
this
.
loginid
=
loginid
;
this
.
prefix
=
prefix
;
this
.
path
=
path
;
this
.
ip
=
ip
;
this
.
content
=
content
;
this
.
user_agent
=
user_agent
;
this
.
create_time
=
create_time
;
}
public
void
setId
(
Long
id
)
{
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_logs_ext.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,29 +14,14 @@ public class Fc_logs_ext implements java.io.Serializable {
...
@@ -12,29 +14,14 @@ public class Fc_logs_ext implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
@Id
@Id
private
String
path
;
private
String
path
;
@Column
(
columnDefinition
=
"varchar(255)'"
)
private
String
ext
;
private
String
ext
;
/**
* 无参数构造方法
*/
public
Fc_logs_ext
()
{
super
();
}
/**
* 全参数构造方法
* @param path
* @param ext
*/
public
Fc_logs_ext
(
String
path
,
String
ext
)
{
this
.
path
=
path
;
this
.
ext
=
ext
;
}
public
void
setPath
(
String
path
)
{
public
void
setPath
(
String
path
)
{
this
.
path
=
path
;
this
.
path
=
path
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_member.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,130 +14,56 @@ public class Fc_member implements java.io.Serializable {
...
@@ -12,130 +14,56 @@ public class Fc_member implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
id
;
private
Integer
id
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '电子邮件'"
)
* 电子邮件
*/
private
String
email
;
private
String
email
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '用户密码'"
)
* 用户密码
*/
private
String
password
;
private
String
password
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '随机数'"
)
* 随机数
*/
private
String
salt
;
private
String
salt
;
/**
@Column
(
columnDefinition
=
"bigint(20) COMMENT '最近登录时间'"
)
* 最近登录时间
*/
private
Long
login_time
;
private
Long
login_time
;
/**
@Column
(
columnDefinition
=
"varchar(50) COMMENT '最近登录时间'"
)
* 最近登录时间
*/
private
String
login_ip
;
private
String
login_ip
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '真实名称'"
)
* 真实名称
*/
private
String
realname
;
private
String
realname
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '居住地址'"
)
* 居住地址
*/
private
String
address
;
private
String
address
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '单位名称'"
)
* 单位名称
*/
private
String
company
;
private
String
company
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '联系电话'"
)
* 联系电话
*/
private
String
tel
;
private
String
tel
;
/**
@Column
(
columnDefinition
=
"bigint(20) unsigned COMMENT '创建时间'"
)
* 创建时间
*/
private
Long
create_time
;
private
Long
create_time
;
/**
@Column
(
columnDefinition
=
"varchar(50) COMMENT '创建ip'"
)
* 创建ip
*/
private
String
create_ip
;
private
String
create_ip
;
/**
@Column
(
columnDefinition
=
"tinyint(50) COMMENT '见状态码'"
)
* 见状态码
*/
private
Integer
state
;
private
Integer
state
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '用户名'"
)
* 用户名
*/
private
String
username
;
private
String
username
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '用户登陆 session_id'"
)
* 用户登陆 session_id
*/
private
String
token
;
private
String
token
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '语言来源'"
)
* 语言来源
*/
private
String
lang
;
private
String
lang
;
/**
* 无参数构造方法
*/
public
Fc_member
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param email 电子邮件
* @param password 用户密码
* @param salt 随机数
* @param login_time 最近登录时间
* @param login_ip 最近登录时间
* @param realname 真实名称
* @param address 居住地址
* @param company 单位名称
* @param tel 联系电话
* @param create_time 创建时间
* @param create_ip 创建ip
* @param state 见状态码
* @param username 用户名
* @param token 用户登陆 session_id
* @param lang 语言来源
*/
public
Fc_member
(
Integer
id
,
String
email
,
String
password
,
String
salt
,
Long
login_time
,
String
login_ip
,
String
realname
,
String
address
,
String
company
,
String
tel
,
Long
create_time
,
String
create_ip
,
Integer
state
,
String
username
,
String
token
,
String
lang
)
{
this
.
id
=
id
;
this
.
email
=
email
;
this
.
password
=
password
;
this
.
salt
=
salt
;
this
.
login_time
=
login_time
;
this
.
login_ip
=
login_ip
;
this
.
realname
=
realname
;
this
.
address
=
address
;
this
.
company
=
company
;
this
.
tel
=
tel
;
this
.
create_time
=
create_time
;
this
.
create_ip
=
create_ip
;
this
.
state
=
state
;
this
.
username
=
username
;
this
.
token
=
token
;
this
.
lang
=
lang
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_member_film.java
View file @
28491703
This diff is collapsed.
Click to expand it.
src/main/java/com/egolm/film/bean/Fc_member_film_enroll.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,30 +14,15 @@ public class Fc_member_film_enroll implements java.io.Serializable {
...
@@ -12,30 +14,15 @@ public class Fc_member_film_enroll implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
film_id
;
private
Integer
film_id
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
enroll_type_id
;
private
Integer
enroll_type_id
;
/**
* 无参数构造方法
*/
public
Fc_member_film_enroll
()
{
super
();
}
/**
* 全参数构造方法
* @param film_id
* @param enroll_type_id
*/
public
Fc_member_film_enroll
(
Integer
film_id
,
Integer
enroll_type_id
)
{
this
.
film_id
=
film_id
;
this
.
enroll_type_id
=
enroll_type_id
;
}
public
void
setFilm_id
(
Integer
film_id
)
{
public
void
setFilm_id
(
Integer
film_id
)
{
this
.
film_id
=
film_id
;
this
.
film_id
=
film_id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_member_film_issuer.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,64 +14,29 @@ public class Fc_member_film_issuer implements java.io.Serializable {
...
@@ -12,64 +14,29 @@ public class Fc_member_film_issuer implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
id
;
private
Integer
id
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '发行公司'"
)
* 发行公司
*/
private
String
issuer_company
;
private
String
issuer_company
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '联系人'"
)
* 联系人
*/
private
String
issuer_contacts
;
private
String
issuer_contacts
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '邮箱'"
)
* 邮箱
*/
private
String
issuer_email
;
private
String
issuer_email
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '电话'"
)
* 电话
*/
private
String
issuer_tel
;
private
String
issuer_tel
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '报名影片ID'"
)
* 报名影片ID
*/
private
Integer
film_id
;
private
Integer
film_id
;
@Column
(
columnDefinition
=
"int(11)'"
)
private
Integer
create_time
;
private
Integer
create_time
;
/**
* 无参数构造方法
*/
public
Fc_member_film_issuer
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param issuer_company 发行公司
* @param issuer_contacts 联系人
* @param issuer_email 邮箱
* @param issuer_tel 电话
* @param film_id 报名影片ID
* @param create_time
*/
public
Fc_member_film_issuer
(
Integer
id
,
String
issuer_company
,
String
issuer_contacts
,
String
issuer_email
,
String
issuer_tel
,
Integer
film_id
,
Integer
create_time
)
{
this
.
id
=
id
;
this
.
issuer_company
=
issuer_company
;
this
.
issuer_contacts
=
issuer_contacts
;
this
.
issuer_email
=
issuer_email
;
this
.
issuer_tel
=
issuer_tel
;
this
.
film_id
=
film_id
;
this
.
create_time
=
create_time
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_member_film_playactor.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,85 +14,38 @@ public class Fc_member_film_playactor implements java.io.Serializable {
...
@@ -12,85 +14,38 @@ public class Fc_member_film_playactor implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
id
;
private
Integer
id
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '姓名'"
)
* 姓名
*/
private
String
playactor_name
;
private
String
playactor_name
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '国籍'"
)
* 国籍
*/
private
String
playactor_country
;
private
String
playactor_country
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '出生年月'"
)
* 出生年月
*/
private
String
playactor_birthday
;
private
String
playactor_birthday
;
/**
@Column
(
columnDefinition
=
"text COMMENT '参与过哪部影片'"
)
* 参与过哪部影片
*/
private
String
playactor_film_intro
;
private
String
playactor_film_intro
;
/**
@Column
(
columnDefinition
=
"varchar(50) COMMENT '该片为第几部长片(包括配角)'"
)
* 该片为第几部长片(包括配角)
*/
private
String
playactor_film_nums
;
private
String
playactor_film_nums
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '演职人员类型(女演员,男演员,制片人,编剧,摄影师)'"
)
* 演职人员类型(女演员,男演员,制片人,编剧,摄影师)
*/
private
String
playactor_type
;
private
String
playactor_type
;
/**
@Column
(
columnDefinition
=
"text COMMENT '饰演的角色名'"
)
* 饰演的角色名
*/
private
String
playactor_role_name
;
private
String
playactor_role_name
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '报名影片ID'"
)
* 报名影片ID
*/
private
Integer
film_id
;
private
Integer
film_id
;
@Column
(
columnDefinition
=
"int(11)'"
)
private
Integer
create_time
;
private
Integer
create_time
;
/**
* 无参数构造方法
*/
public
Fc_member_film_playactor
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param playactor_name 姓名
* @param playactor_country 国籍
* @param playactor_birthday 出生年月
* @param playactor_film_intro 参与过哪部影片
* @param playactor_film_nums 该片为第几部长片(包括配角)
* @param playactor_type 演职人员类型(女演员,男演员,制片人,编剧,摄影师)
* @param playactor_role_name 饰演的角色名
* @param film_id 报名影片ID
* @param create_time
*/
public
Fc_member_film_playactor
(
Integer
id
,
String
playactor_name
,
String
playactor_country
,
String
playactor_birthday
,
String
playactor_film_intro
,
String
playactor_film_nums
,
String
playactor_type
,
String
playactor_role_name
,
Integer
film_id
,
Integer
create_time
)
{
this
.
id
=
id
;
this
.
playactor_name
=
playactor_name
;
this
.
playactor_country
=
playactor_country
;
this
.
playactor_birthday
=
playactor_birthday
;
this
.
playactor_film_intro
=
playactor_film_intro
;
this
.
playactor_film_nums
=
playactor_film_nums
;
this
.
playactor_type
=
playactor_type
;
this
.
playactor_role_name
=
playactor_role_name
;
this
.
film_id
=
film_id
;
this
.
create_time
=
create_time
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_member_film_show.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,64 +14,29 @@ public class Fc_member_film_show implements java.io.Serializable {
...
@@ -12,64 +14,29 @@ public class Fc_member_film_show implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
id
;
private
Integer
id
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '参加过什么电影节'"
)
* 参加过什么电影节
*/
private
String
show_filmfest
;
private
String
show_filmfest
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '参与类型'"
)
* 参与类型
*/
private
String
show_filmfest_type
;
private
String
show_filmfest_type
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '时间'"
)
* 时间
*/
private
String
show_filmfest_date
;
private
String
show_filmfest_date
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '报名影片ID'"
)
* 报名影片ID
*/
private
Integer
film_id
;
private
Integer
film_id
;
/**
@Column
(
columnDefinition
=
"text COMMENT '简介(获奖或报名奖项等)'"
)
* 简介(获奖或报名奖项等)
*/
private
String
show_filmfest_intro
;
private
String
show_filmfest_intro
;
@Column
(
columnDefinition
=
"int(11)'"
)
private
Integer
create_time
;
private
Integer
create_time
;
/**
* 无参数构造方法
*/
public
Fc_member_film_show
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param show_filmfest 参加过什么电影节
* @param show_filmfest_type 参与类型
* @param show_filmfest_date 时间
* @param film_id 报名影片ID
* @param show_filmfest_intro 简介(获奖或报名奖项等)
* @param create_time
*/
public
Fc_member_film_show
(
Integer
id
,
String
show_filmfest
,
String
show_filmfest_type
,
String
show_filmfest_date
,
Integer
film_id
,
String
show_filmfest_intro
,
Integer
create_time
)
{
this
.
id
=
id
;
this
.
show_filmfest
=
show_filmfest
;
this
.
show_filmfest_type
=
show_filmfest_type
;
this
.
show_filmfest_date
=
show_filmfest_date
;
this
.
film_id
=
film_id
;
this
.
show_filmfest_intro
=
show_filmfest_intro
;
this
.
create_time
=
create_time
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_review.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -14,82 +16,38 @@ public class Fc_review implements java.io.Serializable {
...
@@ -14,82 +16,38 @@ public class Fc_review implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
id
;
private
Integer
id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '参审影片ID'"
)
* 参审影片ID
*/
private
Integer
film_id
;
private
Integer
film_id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '影片性质'"
)
* 影片性质
*/
private
Integer
enroll_type_id
;
private
Integer
enroll_type_id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '审片轮数,第几轮审片'"
)
* 审片轮数,第几轮审片
*/
private
Integer
review_round
;
private
Integer
review_round
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '评委分配状态 0未分配评委 1已分配评委评选中'"
)
* 评委分配状态 0未分配评委 1已分配评委评选中
*/
private
Integer
allot_state
;
private
Integer
allot_state
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '审片结论 1通过 2否决 3参赛 4参赛备选 5参展'"
)
* 审片结论 1通过 2否决 3参赛 4参赛备选 5参展
*/
private
Integer
review_state
;
private
Integer
review_state
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '评选状态 0未评选 1有争议 2管理员分配 3审片完成'"
)
* 评选状态 0未评选 1有争议 2管理员分配 3审片完成
*/
private
Integer
opt_state
;
private
Integer
opt_state
;
/**
@Column
(
columnDefinition
=
"datetime COMMENT '推送时间'"
)
* 推送时间
*/
private
Date
push_time
;
private
Date
push_time
;
@Column
(
columnDefinition
=
"datetime'"
)
private
Date
create_time
;
private
Date
create_time
;
@Column
(
columnDefinition
=
"datetime'"
)
private
Date
review_time
;
private
Date
review_time
;
/**
* 无参数构造方法
*/
public
Fc_review
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param film_id 参审影片ID
* @param enroll_type_id 影片性质
* @param review_round 审片轮数,第几轮审片
* @param allot_state 评委分配状态 0未分配评委 1已分配评委评选中
* @param review_state 审片结论 1通过 2否决 3参赛 4参赛备选 5参展
* @param opt_state 评选状态 0未评选 1有争议 2管理员分配 3审片完成
* @param push_time 推送时间
* @param create_time
* @param review_time
*/
public
Fc_review
(
Integer
id
,
Integer
film_id
,
Integer
enroll_type_id
,
Integer
review_round
,
Integer
allot_state
,
Integer
review_state
,
Integer
opt_state
,
Date
push_time
,
Date
create_time
,
Date
review_time
)
{
this
.
id
=
id
;
this
.
film_id
=
film_id
;
this
.
enroll_type_id
=
enroll_type_id
;
this
.
review_round
=
review_round
;
this
.
allot_state
=
allot_state
;
this
.
review_state
=
review_state
;
this
.
opt_state
=
opt_state
;
this
.
push_time
=
push_time
;
this
.
create_time
=
create_time
;
this
.
review_time
=
review_time
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_review_doubtful.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -14,57 +16,26 @@ public class Fc_review_doubtful implements java.io.Serializable {
...
@@ -14,57 +16,26 @@ public class Fc_review_doubtful implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
id
;
private
Integer
id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '影片ID'"
)
* 影片ID
*/
private
Integer
review_id
;
private
Integer
review_id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '评委ID'"
)
* 评委ID
*/
private
Integer
user_id
;
private
Integer
user_id
;
/**
@Column
(
columnDefinition
=
"text COMMENT '疑点介绍'"
)
* 疑点介绍
*/
private
String
doubtful_text
;
private
String
doubtful_text
;
/**
@Column
(
columnDefinition
=
"datetime COMMENT '疑点时间'"
)
* 疑点时间
*/
private
Date
play_time
;
private
Date
play_time
;
@Column
(
columnDefinition
=
"datetime'"
)
private
Date
create_time
;
private
Date
create_time
;
/**
* 无参数构造方法
*/
public
Fc_review_doubtful
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param review_id 影片ID
* @param user_id 评委ID
* @param doubtful_text 疑点介绍
* @param play_time 疑点时间
* @param create_time
*/
public
Fc_review_doubtful
(
Integer
id
,
Integer
review_id
,
Integer
user_id
,
String
doubtful_text
,
Date
play_time
,
Date
create_time
)
{
this
.
id
=
id
;
this
.
review_id
=
review_id
;
this
.
user_id
=
user_id
;
this
.
doubtful_text
=
doubtful_text
;
this
.
play_time
=
play_time
;
this
.
create_time
=
create_time
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_review_history.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -14,61 +16,29 @@ public class Fc_review_history implements java.io.Serializable {
...
@@ -14,61 +16,29 @@ public class Fc_review_history implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
id
;
private
Integer
id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '参审影片ID'"
)
* 参审影片ID
*/
private
Integer
film_id
;
private
Integer
film_id
;
@Column
(
columnDefinition
=
"int(11)'"
)
private
Integer
review_id
;
private
Integer
review_id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '影片性质'"
)
* 影片性质
*/
private
Integer
enroll_type_id
;
private
Integer
enroll_type_id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '审片轮数,第几轮审片'"
)
* 审片轮数,第几轮审片
*/
private
Integer
review_round
;
private
Integer
review_round
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '审片结论 1通过 2否决 3参赛 4参赛备选 5参展'"
)
* 审片结论 1通过 2否决 3参赛 4参赛备选 5参展
*/
private
Integer
review_state
;
private
Integer
review_state
;
@Column
(
columnDefinition
=
"datetime'"
)
private
Date
create_time
;
private
Date
create_time
;
/**
* 无参数构造方法
*/
public
Fc_review_history
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param film_id 参审影片ID
* @param review_id
* @param enroll_type_id 影片性质
* @param review_round 审片轮数,第几轮审片
* @param review_state 审片结论 1通过 2否决 3参赛 4参赛备选 5参展
* @param create_time
*/
public
Fc_review_history
(
Integer
id
,
Integer
film_id
,
Integer
review_id
,
Integer
enroll_type_id
,
Integer
review_round
,
Integer
review_state
,
Date
create_time
)
{
this
.
id
=
id
;
this
.
film_id
=
film_id
;
this
.
review_id
=
review_id
;
this
.
enroll_type_id
=
enroll_type_id
;
this
.
review_round
=
review_round
;
this
.
review_state
=
review_state
;
this
.
create_time
=
create_time
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_review_record.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -14,101 +16,50 @@ public class Fc_review_record implements java.io.Serializable {
...
@@ -14,101 +16,50 @@ public class Fc_review_record implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '影片ID'"
)
* 影片ID
*/
@Id
@Id
private
Integer
id
;
private
Integer
id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '评选轮数'"
)
* 评选轮数
*/
private
Integer
review_id
;
private
Integer
review_id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '评委ID'"
)
* 评委ID
*/
private
Integer
user_id
;
private
Integer
user_id
;
/**
@Column
(
columnDefinition
=
"bigint(11) COMMENT '观看时长(毫秒)'"
)
* 观看时长(毫秒)
*/
private
Long
view_time
;
private
Long
view_time
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '评选轮数'"
)
* 评选轮数
*/
private
Integer
review_round
;
private
Integer
review_round
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '审片状态 1通过,2否决,3参赛,4参赛备选,5参展'"
)
* 审片状态 1通过,2否决,3参赛,4参赛备选,5参展
*/
private
Integer
review_state
;
private
Integer
review_state
;
/**
@Column
(
columnDefinition
=
"double(10,2) COMMENT '得分分数'"
)
* 得分分数
*/
private
Double
review_score
;
private
Double
review_score
;
/**
@Column
(
columnDefinition
=
"text COMMENT '影片评论'"
)
* 影片评论
*/
private
String
review_text
;
private
String
review_text
;
@Column
(
columnDefinition
=
"text'"
)
private
String
review_text_1
;
private
String
review_text_1
;
@Column
(
columnDefinition
=
"text'"
)
private
String
review_text_2
;
private
String
review_text_2
;
@Column
(
columnDefinition
=
"text'"
)
private
String
review_text_3
;
private
String
review_text_3
;
@Column
(
columnDefinition
=
"text'"
)
private
String
review_text_4
;
private
String
review_text_4
;
@Column
(
columnDefinition
=
"datetime'"
)
private
Date
create_time
;
private
Date
create_time
;
@Column
(
columnDefinition
=
"datetime'"
)
private
Date
review_time
;
private
Date
review_time
;
/**
* 无参数构造方法
*/
public
Fc_review_record
()
{
super
();
}
/**
* 全参数构造方法
* @param id 影片ID
* @param review_id 评选轮数
* @param user_id 评委ID
* @param view_time 观看时长(毫秒)
* @param review_round 评选轮数
* @param review_state 审片状态 1通过,2否决,3参赛,4参赛备选,5参展
* @param review_score 得分分数
* @param review_text 影片评论
* @param review_text_1
* @param review_text_2
* @param review_text_3
* @param review_text_4
* @param create_time
* @param review_time
*/
public
Fc_review_record
(
Integer
id
,
Integer
review_id
,
Integer
user_id
,
Long
view_time
,
Integer
review_round
,
Integer
review_state
,
Double
review_score
,
String
review_text
,
String
review_text_1
,
String
review_text_2
,
String
review_text_3
,
String
review_text_4
,
Date
create_time
,
Date
review_time
)
{
this
.
id
=
id
;
this
.
review_id
=
review_id
;
this
.
user_id
=
user_id
;
this
.
view_time
=
view_time
;
this
.
review_round
=
review_round
;
this
.
review_state
=
review_state
;
this
.
review_score
=
review_score
;
this
.
review_text
=
review_text
;
this
.
review_text_1
=
review_text_1
;
this
.
review_text_2
=
review_text_2
;
this
.
review_text_3
=
review_text_3
;
this
.
review_text_4
=
review_text_4
;
this
.
create_time
=
create_time
;
this
.
review_time
=
review_time
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_review_record_ext.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,49 +14,20 @@ public class Fc_review_record_ext implements java.io.Serializable {
...
@@ -12,49 +14,20 @@ public class Fc_review_record_ext implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '影片ID'"
)
* 影片ID
*/
@Id
@Id
private
Integer
id
;
private
Integer
id
;
/**
@Column
(
columnDefinition
=
"int(11) COMMENT '评委评审记录ID'"
)
* 评委评审记录ID
*/
private
Integer
record_id
;
private
Integer
record_id
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '获奖标题 例如: 最佳男演员-张三'"
)
* 获奖标题 例如: 最佳男演员-张三
*/
private
String
ext_title
;
private
String
ext_title
;
/**
@Column
(
columnDefinition
=
"double(10,2) COMMENT '奖项评分'"
)
* 奖项评分
*/
private
Double
ext_score
;
private
Double
ext_score
;
/**
* 无参数构造方法
*/
public
Fc_review_record_ext
()
{
super
();
}
/**
* 全参数构造方法
* @param id 影片ID
* @param record_id 评委评审记录ID
* @param ext_title 获奖标题 例如: 最佳男演员-张三
* @param ext_score 奖项评分
*/
public
Fc_review_record_ext
(
Integer
id
,
Integer
record_id
,
String
ext_title
,
Double
ext_score
)
{
this
.
id
=
id
;
this
.
record_id
=
record_id
;
this
.
ext_title
=
ext_title
;
this
.
ext_score
=
ext_score
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_user.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -14,165 +16,71 @@ public class Fc_user implements java.io.Serializable {
...
@@ -14,165 +16,71 @@ public class Fc_user implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11) unsigned'"
)
@Id
@Id
private
Integer
uid
;
private
Integer
uid
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '用户名'"
)
* 用户名
*/
private
String
username
;
private
String
username
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '用户密码'"
)
* 用户密码
*/
private
String
password
;
private
String
password
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '真实名称'"
)
* 真实名称
*/
private
String
realname
;
private
String
realname
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '随机数'"
)
* 随机数
*/
private
String
salt
;
private
String
salt
;
/**
@Column
(
columnDefinition
=
"tinyint(50) COMMENT '见状态码'"
)
* 见状态码
*/
private
Integer
state
;
private
Integer
state
;
/**
@Column
(
columnDefinition
=
"int(10) COMMENT '用户组id'"
)
* 用户组id
*/
private
Integer
group_id
;
private
Integer
group_id
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '单位名称'"
)
* 单位名称
*/
private
String
company
;
private
String
company
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '职业'"
)
* 职业
*/
private
String
job
;
private
String
job
;
/**
@Column
(
columnDefinition
=
"tinyint(2) COMMENT '性别 1男 2女'"
)
* 性别 1男 2女
*/
private
Integer
sex
;
private
Integer
sex
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '居住地址'"
)
* 居住地址
*/
private
String
address
;
private
String
address
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '电子邮件'"
)
* 电子邮件
*/
private
String
email
;
private
String
email
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '联系电话'"
)
* 联系电话
*/
private
String
tel
;
private
String
tel
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '用户登陆 session_id'"
)
* 用户登陆 session_id
*/
private
String
token
;
private
String
token
;
/**
@Column
(
columnDefinition
=
"date COMMENT '设置到期时间'"
)
* 设置到期时间
*/
private
Date
expire_date
;
private
Date
expire_date
;
/**
@Column
(
columnDefinition
=
"varchar(50) COMMENT '最后一次登陆时间'"
)
* 最后一次登陆时间
*/
private
String
last_login_ip
;
private
String
last_login_ip
;
/**
@Column
(
columnDefinition
=
"datetime COMMENT '最后一次登录时间'"
)
* 最后一次登录时间
*/
private
Date
last_login_time
;
private
Date
last_login_time
;
/**
@Column
(
columnDefinition
=
"int(11) unsigned COMMENT '管理员id'"
)
* 管理员id
*/
private
Integer
adminid
;
private
Integer
adminid
;
/**
@Column
(
columnDefinition
=
"varchar(50) COMMENT '创建者ip'"
)
* 创建者ip
*/
private
String
create_ip
;
private
String
create_ip
;
/**
@Column
(
columnDefinition
=
"datetime COMMENT '创建时间'"
)
* 创建时间
*/
private
Date
create_time
;
private
Date
create_time
;
/**
@Column
(
columnDefinition
=
"datetime COMMENT '最后修改时间'"
)
* 最后修改时间
*/
private
Date
lastuptime
;
private
Date
lastuptime
;
/**
* 无参数构造方法
*/
public
Fc_user
()
{
super
();
}
/**
* 全参数构造方法
* @param uid
* @param username 用户名
* @param password 用户密码
* @param realname 真实名称
* @param salt 随机数
* @param state 见状态码
* @param group_id 用户组id
* @param company 单位名称
* @param job 职业
* @param sex 性别 1男 2女
* @param address 居住地址
* @param email 电子邮件
* @param tel 联系电话
* @param token 用户登陆 session_id
* @param expire_date 设置到期时间
* @param last_login_ip 最后一次登陆时间
* @param last_login_time 最后一次登录时间
* @param adminid 管理员id
* @param create_ip 创建者ip
* @param create_time 创建时间
* @param lastuptime 最后修改时间
*/
public
Fc_user
(
Integer
uid
,
String
username
,
String
password
,
String
realname
,
String
salt
,
Integer
state
,
Integer
group_id
,
String
company
,
String
job
,
Integer
sex
,
String
address
,
String
email
,
String
tel
,
String
token
,
Date
expire_date
,
String
last_login_ip
,
Date
last_login_time
,
Integer
adminid
,
String
create_ip
,
Date
create_time
,
Date
lastuptime
)
{
this
.
uid
=
uid
;
this
.
username
=
username
;
this
.
password
=
password
;
this
.
realname
=
realname
;
this
.
salt
=
salt
;
this
.
state
=
state
;
this
.
group_id
=
group_id
;
this
.
company
=
company
;
this
.
job
=
job
;
this
.
sex
=
sex
;
this
.
address
=
address
;
this
.
email
=
email
;
this
.
tel
=
tel
;
this
.
token
=
token
;
this
.
expire_date
=
expire_date
;
this
.
last_login_ip
=
last_login_ip
;
this
.
last_login_time
=
last_login_time
;
this
.
adminid
=
adminid
;
this
.
create_ip
=
create_ip
;
this
.
create_time
=
create_time
;
this
.
lastuptime
=
lastuptime
;
}
public
void
setUid
(
Integer
uid
)
{
public
void
setUid
(
Integer
uid
)
{
this
.
uid
=
uid
;
this
.
uid
=
uid
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_user_group.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -14,70 +16,29 @@ public class Fc_user_group implements java.io.Serializable {
...
@@ -14,70 +16,29 @@ public class Fc_user_group implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
/**
@Column
(
columnDefinition
=
"int(10) unsigned COMMENT '用户组id'"
)
* 用户组id
*/
@Id
@Id
private
Integer
group_id
;
private
Integer
group_id
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '小组名称'"
)
* 小组名称
*/
private
String
group_name
;
private
String
group_name
;
/**
@Column
(
columnDefinition
=
"text COMMENT '工作介绍'"
)
* 工作介绍
*/
private
String
job_desc
;
private
String
job_desc
;
/**
@Column
(
columnDefinition
=
"tinyint(2) COMMENT '小组状态'"
)
* 小组状态
*/
private
Integer
state
;
private
Integer
state
;
/**
@Column
(
columnDefinition
=
"int(11) unsigned COMMENT '管理员id'"
)
* 管理员id
*/
private
Integer
adminid
;
private
Integer
adminid
;
/**
@Column
(
columnDefinition
=
"varchar(255) COMMENT '创建者ip'"
)
* 创建者ip
*/
private
String
create_ip
;
private
String
create_ip
;
/**
@Column
(
columnDefinition
=
"datetime COMMENT '创建时间'"
)
* 创建时间
*/
private
Date
create_time
;
private
Date
create_time
;
/**
* 无参数构造方法
*/
public
Fc_user_group
()
{
super
();
}
/**
* 全参数构造方法
* @param group_id 用户组id
* @param group_name 小组名称
* @param job_desc 工作介绍
* @param state 小组状态
* @param adminid 管理员id
* @param create_ip 创建者ip
* @param create_time 创建时间
*/
public
Fc_user_group
(
Integer
group_id
,
String
group_name
,
String
job_desc
,
Integer
state
,
Integer
adminid
,
String
create_ip
,
Date
create_time
)
{
this
.
group_id
=
group_id
;
this
.
group_name
=
group_name
;
this
.
job_desc
=
job_desc
;
this
.
state
=
state
;
this
.
adminid
=
adminid
;
this
.
create_ip
=
create_ip
;
this
.
create_time
=
create_time
;
}
public
void
setGroup_id
(
Integer
group_id
)
{
public
void
setGroup_id
(
Integer
group_id
)
{
this
.
group_id
=
group_id
;
this
.
group_id
=
group_id
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_user_group_fun.java
View file @
28491703
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
...
@@ -2,6 +2,8 @@ package com.egolm.film.bean;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
/**
/**
...
@@ -12,30 +14,15 @@ public class Fc_user_group_fun implements java.io.Serializable {
...
@@ -12,30 +14,15 @@ public class Fc_user_group_fun implements java.io.Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
group_id
;
private
Integer
group_id
;
@Column
(
columnDefinition
=
"int(11)'"
)
@Id
@Id
private
Integer
fun_id
;
private
Integer
fun_id
;
/**
* 无参数构造方法
*/
public
Fc_user_group_fun
()
{
super
();
}
/**
* 全参数构造方法
* @param group_id
* @param fun_id
*/
public
Fc_user_group_fun
(
Integer
group_id
,
Integer
fun_id
)
{
this
.
group_id
=
group_id
;
this
.
fun_id
=
fun_id
;
}
public
void
setGroup_id
(
Integer
group_id
)
{
public
void
setGroup_id
(
Integer
group_id
)
{
this
.
group_id
=
group_id
;
this
.
group_id
=
group_id
;
}
}
...
...
src/main/java/com/egolm/film/util/Export.java
View file @
28491703
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment