Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 248a6e56
authored
Apr 21, 2021
by
wnb0128
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车家智能后台管理 场景模板添加页面图标字段--think.wang
1 parent
bf06688a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
152 deletions
src/main/java/com/glsx/admin/pojo/request/SceneTemplateReq.java
src/main/java/com/glsx/admin/pojo/request/SmartSceneDataReq.java
src/main/java/com/glsx/admin/pojo/request/SmartSceneReq.java
src/main/java/com/glsx/admin/pojo/response/SceneTemplateResp.java
src/main/java/com/glsx/admin/pojo/request/SceneTemplateReq.java
View file @
248a6e5
...
...
@@ -56,6 +56,12 @@ public class SceneTemplateReq extends BaseDTO {
private
Long
backPic
;
/**
* 列表页面图ID 关联smart_sys_file中id
*/
@NotNull
(
message
=
"pagePic不能为空"
,
groups
=
{
GroupA
.
class
})
private
Long
pagePic
;
/**
* 查看次数
*/
private
Long
viewTimes
;
...
...
src/main/java/com/glsx/admin/pojo/request/SmartSceneDataReq.java
deleted
100644 → 0
View file @
bf06688
package
com
.
glsx
.
admin
.
pojo
.
request
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
lombok.Data
;
/**
* 车家智能用户场景数据表
*/
@Data
@Table
(
name
=
"smart_scene_data"
)
public
class
SmartSceneDataReq
{
/**
* 标识ID
*/
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Long
id
;
/**
* 场景ID 关联smart_scene中id
*/
private
Long
sceneId
;
/**
* 类型 1触发条件 2执行内容
*/
private
Byte
type
;
/**
* 排序
*/
private
Byte
sort
;
/**
* 参数key
*/
private
String
paramKey
;
/**
* 参数值 数组对象
*/
private
String
paramValue
;
}
src/main/java/com/glsx/admin/pojo/request/SmartSceneReq.java
deleted
100644 → 0
View file @
bf06688
package
com
.
glsx
.
admin
.
pojo
.
request
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
java.util.Date
;
import
lombok.Data
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
/**
* 车家智能用户场景表
*/
@Data
@Table
(
name
=
"smart_scene"
)
public
class
SmartSceneReq
{
/**
* 标识ID
*/
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Long
id
;
/**
* 用户ID 关联smart_user_relation中id
*/
private
Long
userId
;
/**
* 场景名称
*/
private
String
scenesName
;
/**
* 场景类型key 关联smart_sys_code中dict_key
*/
private
String
typeKey
;
/**
* 场景图标ID 关联smart_sys_file中id
*/
private
Long
icon
;
/**
* 场景背景图ID 关联smart_sys_file中id
*/
private
Long
backPic
;
/**
* 查看次数
*/
private
Long
viewTimes
;
/**
* 场景描述
*/
private
String
description
;
/**
* 条件规则 1任一条件 2全部条件
*/
private
Byte
conditionRule
;
/**
* 执行周期 1每天 2工作日 3法定节假日
*/
private
Byte
executeCycle
;
/**
* 状态:0下线 1上线
*/
private
Byte
status
;
/**
* 备注
*/
private
String
remark
;
/**
* 创建时间
*/
private
Date
createTime
;
/**
* 更新时间
*/
private
Date
updateTime
;
}
src/main/java/com/glsx/admin/pojo/response/SceneTemplateResp.java
View file @
248a6e5
...
...
@@ -51,14 +51,24 @@ public class SceneTemplateResp {
private
Long
backPic
;
/**
* 列表页面图ID 关联smart_sys_file中id
*/
private
Long
pagePic
;
/**
* 场景背景图
*/
private
String
backPicUrl
;
/**
* 列表页面图
*/
private
String
pagePicUrl
;
/**
* 查看次数
*/
private
Long
viewTimes
=
0L
;
private
Long
viewTimes
=
0L
;
/**
* 场景描述
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment