Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
on-site-service
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
external
on-site-service
Commits
cd2d1b9b
Commit
cd2d1b9b
authored
Jul 19, 2022
by
lining
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 文案备注+颜色码
parent
53a0ceca
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
0 deletions
+36
-0
ServiceCategory.java
...va/com/onsiteservice/entity/category/ServiceCategory.java
+15
-0
ServiceSubclass.java
...va/com/onsiteservice/entity/category/ServiceSubclass.java
+7
-0
ServiceCategoryVO.java
...ice/miniapp/controller/category/vo/ServiceCategoryVO.java
+10
-0
ServiceSubclassVO.java
...ice/miniapp/controller/category/vo/ServiceSubclassVO.java
+4
-0
No files found.
entity/src/main/java/com/onsiteservice/entity/category/ServiceCategory.java
View file @
cd2d1b9b
...
...
@@ -67,5 +67,20 @@ public class ServiceCategory implements Serializable {
@ApiModelProperty
(
"修改时间"
)
private
Date
modifyTime
;
@Column
(
name
=
"title_color"
)
@ApiModelProperty
(
"标题颜色码"
)
private
String
titleColor
;
@Column
(
name
=
"back_color"
)
@ApiModelProperty
(
"背景颜色码"
)
private
String
backColor
;
/**
* 文案备注
*/
@Column
(
name
=
"description"
)
@ApiModelProperty
(
"文案备注"
)
private
String
description
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
entity/src/main/java/com/onsiteservice/entity/category/ServiceSubclass.java
View file @
cd2d1b9b
...
...
@@ -77,5 +77,12 @@ public class ServiceSubclass implements Serializable {
@ApiModelProperty
(
"修改时间"
)
private
Date
modifyTime
;
/**
* 文案备注
*/
@Column
(
name
=
"description"
)
@ApiModelProperty
(
"文案备注"
)
private
String
description
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
mini-app/src/main/java/com/onsiteservice/miniapp/controller/category/vo/ServiceCategoryVO.java
View file @
cd2d1b9b
...
...
@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModel;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
javax.persistence.Column
;
import
java.util.List
;
@Data
...
...
@@ -25,4 +26,13 @@ public class ServiceCategoryVO {
@ApiModelProperty
(
value
=
"子类信息"
)
private
List
<
ServiceSubclassVO
>
children
;
@ApiModelProperty
(
"标题颜色码"
)
private
String
titleColor
;
@ApiModelProperty
(
"背景颜色码"
)
private
String
backColor
;
@ApiModelProperty
(
"文案备注"
)
private
String
description
;
}
\ No newline at end of file
mini-app/src/main/java/com/onsiteservice/miniapp/controller/category/vo/ServiceSubclassVO.java
View file @
cd2d1b9b
...
...
@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModel;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
javax.persistence.Column
;
import
java.util.Date
;
@Data
...
...
@@ -25,4 +26,7 @@ public class ServiceSubclassVO {
@ApiModelProperty
(
value
=
"图片url"
)
private
String
img
;
@ApiModelProperty
(
"文案备注"
)
private
String
description
;
}
\ No newline at end of file
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