Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
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
徐少华
midjourney-proxy
Commits
47e0871a
Commit
47e0871a
authored
Nov 05, 2018
by
gaopeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息中心消息分类展示优化+首页增加待处理消息模块
parent
76cfec47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
0 deletions
+71
-0
SendNotifyDto.java
...c/main/java/com/pcloud/common/core/dto/SendNotifyDto.java
+34
-0
NotifyOriginTypeEnum.java
...va/com/pcloud/common/core/enums/NotifyOriginTypeEnum.java
+37
-0
No files found.
pcloud-common-core/src/main/java/com/pcloud/common/core/dto/SendNotifyDto.java
View file @
47e0871a
...
...
@@ -94,6 +94,18 @@ public class SendNotifyDto implements Serializable{
*/
private
String
jsonString
;
/**
* 来源ID
* @return
*/
private
String
originId
;
/**
* 来源类型
* @return
*/
private
String
originType
;
public
Long
getFromId
()
{
return
fromId
;
}
...
...
@@ -222,6 +234,26 @@ public class SendNotifyDto implements Serializable{
this
.
jsonString
=
jsonString
;
}
public
static
long
getSerialVersionUID
()
{
return
serialVersionUID
;
}
public
String
getOriginType
()
{
return
originType
;
}
public
void
setOriginType
(
String
originType
)
{
this
.
originType
=
originType
;
}
public
String
getOriginId
()
{
return
originId
;
}
public
void
setOriginId
(
String
originId
)
{
this
.
originId
=
originId
;
}
@Override
public
String
toString
()
{
return
"SendNotifyDto{"
+
...
...
@@ -244,6 +276,8 @@ public class SendNotifyDto implements Serializable{
", pic='"
+
pic
+
'\''
+
", frquency="
+
frquency
+
", jsonString='"
+
jsonString
+
'\''
+
", originId='"
+
originId
+
'\''
+
", originType='"
+
originType
+
'\''
+
'}'
;
}
}
pcloud-common-core/src/main/java/com/pcloud/common/core/enums/NotifyOriginTypeEnum.java
0 → 100644
View file @
47e0871a
package
com
.
pcloud
.
common
.
core
.
enums
;
/**
* Description 站内信中originType枚举类
* @author HZK
* @date 2018/10/18
*/
public
enum
NotifyOriginTypeEnum
{
/**
* 应用ID
*/
APP
(
"APP"
),
/**
* 作品ID
*/
PRODUCT
(
"PRODUCT"
),
/**
* 订单
*/
ORDERNUM
(
"ORDERNUM"
);
/**
* 值
*/
public
final
String
value
;
/**
* 构造
* @param value
*/
NotifyOriginTypeEnum
(
String
value
)
{
this
.
value
=
value
;
}
}
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