Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
0bda1168
Commit
0bda1168
authored
Sep 23, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加初始值
parent
2512caa0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
216 additions
and
163 deletions
+216
-163
base-manager/src/main/java/com/mortals/xhx/module/dept/model/DeptEntity.java
...in/java/com/mortals/xhx/module/dept/model/DeptEntity.java
+8
-8
base-manager/src/main/java/com/mortals/xhx/module/window/model/WindowEntity.java
...ava/com/mortals/xhx/module/window/model/WindowEntity.java
+208
-155
No files found.
base-manager/src/main/java/com/mortals/xhx/module/dept/model/DeptEntity.java
View file @
0bda1168
...
@@ -351,21 +351,21 @@ public class DeptEntity extends DeptVo {
...
@@ -351,21 +351,21 @@ public class DeptEntity extends DeptVo {
public
void
initAttrValue
(){
public
void
initAttrValue
(){
this
.
tid
=
null
;
this
.
tid
=
""
;
this
.
tname
=
null
;
this
.
tname
=
""
;
this
.
name
=
null
;
this
.
name
=
""
;
this
.
simpleName
=
null
;
this
.
simpleName
=
""
;
this
.
siteId
=
null
;
this
.
siteId
=
0L
;
this
.
deptAbb
=
null
;
this
.
deptAbb
=
""
;
this
.
deptTelphone
=
null
;
this
.
deptTelphone
=
""
;
this
.
deptNumber
=
null
;
this
.
deptNumber
=
""
;
this
.
isAutotable
=
1
;
this
.
isAutotable
=
1
;
...
...
base-manager/src/main/java/com/mortals/xhx/module/window/model/WindowEntity.java
View file @
0bda1168
...
@@ -2,16 +2,18 @@ package com.mortals.xhx.module.window.model;
...
@@ -2,16 +2,18 @@ package com.mortals.xhx.module.window.model;
import
java.util.List
;
import
java.util.List
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.mortals.framework.annotation.Excel
;
import
com.mortals.framework.annotation.Excel
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.xhx.module.window.model.vo.WindowVo
;
import
com.mortals.xhx.module.window.model.vo.WindowVo
;
/**
/**
* 站点部门窗口实体对象
* 站点部门窗口实体对象
*
*
* @author zxfei
* @author zxfei
* @date 2022-01-12
* @date 2022-01-12
*/
*/
public
class
WindowEntity
extends
WindowVo
{
public
class
WindowEntity
extends
WindowVo
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
@@ -70,198 +72,249 @@ public class WindowEntity extends WindowVo {
...
@@ -70,198 +72,249 @@ public class WindowEntity extends WindowVo {
private
Integer
level
;
private
Integer
level
;
public
WindowEntity
()
{
}
public
WindowEntity
(){}
/**
/**
* 获取 站点ID
* 获取 站点ID
*
* @return Long
* @return Long
*/
*/
public
Long
getSiteId
(){
public
Long
getSiteId
()
{
return
siteId
;
return
siteId
;
}
}
/**
/**
* 设置 站点ID
* 设置 站点ID
*
* @param siteId
* @param siteId
*/
*/
public
void
setSiteId
(
Long
siteId
){
public
void
setSiteId
(
Long
siteId
)
{
this
.
siteId
=
siteId
;
this
.
siteId
=
siteId
;
}
}
/**
/**
* 获取 站点名称
* 获取 站点名称
*
* @return String
* @return String
*/
*/
public
String
getSiteName
(){
public
String
getSiteName
()
{
return
siteName
;
return
siteName
;
}
}
/**
/**
* 设置 站点名称
* 设置 站点名称
*
* @param siteName
* @param siteName
*/
*/
public
void
setSiteName
(
String
siteName
){
public
void
setSiteName
(
String
siteName
)
{
this
.
siteName
=
siteName
;
this
.
siteName
=
siteName
;
}
}
/**
/**
* 获取 部门ID
* 获取 部门ID
*
* @return Long
* @return Long
*/
*/
public
Long
getDeptId
(){
public
Long
getDeptId
()
{
return
deptId
;
return
deptId
;
}
}
/**
/**
* 设置 部门ID
* 设置 部门ID
*
* @param deptId
* @param deptId
*/
*/
public
void
setDeptId
(
Long
deptId
){
public
void
setDeptId
(
Long
deptId
)
{
this
.
deptId
=
deptId
;
this
.
deptId
=
deptId
;
}
}
/**
/**
* 获取 部门名称
* 获取 部门名称
*
* @return String
* @return String
*/
*/
public
String
getDeptName
(){
public
String
getDeptName
()
{
return
deptName
;
return
deptName
;
}
}
/**
/**
* 设置 部门名称
* 设置 部门名称
*
* @param deptName
* @param deptName
*/
*/
public
void
setDeptName
(
String
deptName
){
public
void
setDeptName
(
String
deptName
)
{
this
.
deptName
=
deptName
;
this
.
deptName
=
deptName
;
}
}
/**
/**
* 获取 窗口名称
* 获取 窗口名称
*
* @return String
* @return String
*/
*/
public
String
getName
(){
public
String
getName
()
{
return
name
;
return
name
;
}
}
/**
/**
* 设置 窗口名称
* 设置 窗口名称
*
* @param name
* @param name
*/
*/
public
void
setName
(
String
name
){
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
this
.
name
=
name
;
}
}
/**
/**
* 获取 英语窗口名
* 获取 英语窗口名
*
* @return String
* @return String
*/
*/
public
String
getEnglishName
(){
public
String
getEnglishName
()
{
return
englishName
;
return
englishName
;
}
}
/**
/**
* 设置 英语窗口名
* 设置 英语窗口名
*
* @param englishName
* @param englishName
*/
*/
public
void
setEnglishName
(
String
englishName
){
public
void
setEnglishName
(
String
englishName
)
{
this
.
englishName
=
englishName
;
this
.
englishName
=
englishName
;
}
}
/**
/**
* 获取 区域
* 获取 区域
*
* @return String
* @return String
*/
*/
public
String
getRegion
(){
public
String
getRegion
()
{
return
region
;
return
region
;
}
}
/**
/**
* 设置 区域
* 设置 区域
*
* @param region
* @param region
*/
*/
public
void
setRegion
(
String
region
){
public
void
setRegion
(
String
region
)
{
this
.
region
=
region
;
this
.
region
=
region
;
}
}
/**
/**
* 获取 英语区域
* 获取 英语区域
*
* @return String
* @return String
*/
*/
public
String
getEnglishRegion
(){
public
String
getEnglishRegion
()
{
return
englishRegion
;
return
englishRegion
;
}
}
/**
/**
* 设置 英语区域
* 设置 英语区域
*
* @param englishRegion
* @param englishRegion
*/
*/
public
void
setEnglishRegion
(
String
englishRegion
){
public
void
setEnglishRegion
(
String
englishRegion
)
{
this
.
englishRegion
=
englishRegion
;
this
.
englishRegion
=
englishRegion
;
}
}
/**
/**
* 获取 窗口编号
* 获取 窗口编号
*
* @return String
* @return String
*/
*/
public
String
getFromnum
(){
public
String
getFromnum
()
{
return
fromnum
;
return
fromnum
;
}
}
/**
/**
* 设置 窗口编号
* 设置 窗口编号
*
* @param fromnum
* @param fromnum
*/
*/
public
void
setFromnum
(
String
fromnum
){
public
void
setFromnum
(
String
fromnum
)
{
this
.
fromnum
=
fromnum
;
this
.
fromnum
=
fromnum
;
}
}
/**
/**
* 获取 红旗窗口 (1.是,0.否)
* 获取 红旗窗口 (1.是,0.否)
*
* @return Integer
* @return Integer
*/
*/
public
Integer
getHongqi
(){
public
Integer
getHongqi
()
{
return
hongqi
;
return
hongqi
;
}
}
/**
/**
* 设置 红旗窗口 (1.是,0.否)
* 设置 红旗窗口 (1.是,0.否)
*
* @param hongqi
* @param hongqi
*/
*/
public
void
setHongqi
(
Integer
hongqi
){
public
void
setHongqi
(
Integer
hongqi
)
{
this
.
hongqi
=
hongqi
;
this
.
hongqi
=
hongqi
;
}
}
/**
/**
* 获取 备注
* 获取 备注
*
* @return String
* @return String
*/
*/
public
String
getSummary
(){
public
String
getSummary
()
{
return
summary
;
return
summary
;
}
}
/**
/**
* 设置 备注
* 设置 备注
*
* @param summary
* @param summary
*/
*/
public
void
setSummary
(
String
summary
){
public
void
setSummary
(
String
summary
)
{
this
.
summary
=
summary
;
this
.
summary
=
summary
;
}
}
/**
/**
* 获取 楼栋
* 获取 楼栋
*
* @return Integer
* @return Integer
*/
*/
public
Integer
getBuilding
(){
public
Integer
getBuilding
()
{
return
building
;
return
building
;
}
}
/**
/**
* 设置 楼栋
* 设置 楼栋
*
* @param building
* @param building
*/
*/
public
void
setBuilding
(
Integer
building
){
public
void
setBuilding
(
Integer
building
)
{
this
.
building
=
building
;
this
.
building
=
building
;
}
}
/**
/**
* 获取 楼层
* 获取 楼层
*
* @return Integer
* @return Integer
*/
*/
public
Integer
getLevel
(){
public
Integer
getLevel
()
{
return
level
;
return
level
;
}
}
/**
/**
* 设置 楼层
* 设置 楼层
*
* @param level
* @param level
*/
*/
public
void
setLevel
(
Integer
level
){
public
void
setLevel
(
Integer
level
)
{
this
.
level
=
level
;
this
.
level
=
level
;
}
}
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
return
this
.
getId
().
hashCode
();
}
}
@Override
@Override
public
boolean
equals
(
Object
obj
)
{
public
boolean
equals
(
Object
obj
)
{
if
(
obj
==
null
)
return
false
;
if
(
obj
==
null
)
return
false
;
...
@@ -274,7 +327,7 @@ public class WindowEntity extends WindowVo {
...
@@ -274,7 +327,7 @@ public class WindowEntity extends WindowVo {
return
false
;
return
false
;
}
}
public
String
toString
(){
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
(
""
);
StringBuilder
sb
=
new
StringBuilder
(
""
);
sb
.
append
(
",siteId:"
).
append
(
getSiteId
());
sb
.
append
(
",siteId:"
).
append
(
getSiteId
());
sb
.
append
(
",siteName:"
).
append
(
getSiteName
());
sb
.
append
(
",siteName:"
).
append
(
getSiteName
());
...
@@ -292,29 +345,29 @@ public class WindowEntity extends WindowVo {
...
@@ -292,29 +345,29 @@ public class WindowEntity extends WindowVo {
return
sb
.
toString
();
return
sb
.
toString
();
}
}
public
void
initAttrValue
(){
public
void
initAttrValue
()
{
this
.
siteId
=
null
;
this
.
siteId
=
0L
;
this
.
siteName
=
null
;
this
.
siteName
=
""
;
this
.
deptId
=
null
;
this
.
deptId
=
0L
;
this
.
deptName
=
null
;
this
.
deptName
=
""
;
this
.
name
=
null
;
this
.
name
=
""
;
this
.
englishName
=
null
;
this
.
englishName
=
""
;
this
.
region
=
null
;
this
.
region
=
""
;
this
.
englishRegion
=
null
;
this
.
englishRegion
=
""
;
this
.
fromnum
=
null
;
this
.
fromnum
=
""
;
this
.
hongqi
=
1
;
this
.
hongqi
=
1
;
this
.
summary
=
null
;
this
.
summary
=
""
;
this
.
building
=
1
;
this
.
building
=
1
;
...
...
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