5 changed files with 63 additions and 5 deletions
@ -0,0 +1,52 @@ |
|||||
|
package com.ccsens.common.bean.message; |
||||
|
|
||||
|
import com.ccsens.common.util.Constant; |
||||
|
import lombok.Data; |
||||
|
import lombok.Getter; |
||||
|
import lombok.Setter; |
||||
|
|
||||
|
/** |
||||
|
* @author 逗 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DeliverMessageWithUpload { |
||||
|
private String type = Constant.MessageType.UPLOAD_DELIVER; |
||||
|
private String event; |
||||
|
|
||||
|
public DeliverMessageWithUpload() { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
private Data data; |
||||
|
|
||||
|
@Setter |
||||
|
@Getter |
||||
|
public static class Data{ |
||||
|
//任务分解id
|
||||
|
Long taskId; |
||||
|
//任务详情id
|
||||
|
Long taskDetailId; |
||||
|
//交付物id
|
||||
|
Long deliverId; |
||||
|
//角色id(上传的任务所属的角色id)
|
||||
|
Long roleId; |
||||
|
//上传者id(memberId)
|
||||
|
Long memberId; |
||||
|
//上传者名字(成员名)
|
||||
|
String memberName; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public DeliverMessageWithUpload(Long taskId, Long taskDetailId, Long deliverId, Long roleId, Long memberId, String memberName){ |
||||
|
this(); |
||||
|
Data d = new Data(); |
||||
|
d.setTaskId(taskId); |
||||
|
d.setTaskDetailId(taskDetailId); |
||||
|
d.setDeliverId(deliverId); |
||||
|
d.setRoleId(roleId); |
||||
|
d.setMemberId(memberId); |
||||
|
d.setMemberName(memberName); |
||||
|
setData(d); |
||||
|
} |
||||
|
|
||||
|
} |
@ -1,5 +1,5 @@ |
|||||
spring: |
spring: |
||||
profiles: |
profiles: |
||||
active: dev |
active: test |
||||
include: util-dev,common |
include: util-test,common |
||||
|
|
||||
|
Loading…
Reference in new issue