8bca30c1333fd5280401b94228b6d9c2ab4d1c45.svn-base 926 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package org.jeecg.common.api.dto.message;
  2. import lombok.Data;
  3. import java.io.Serializable;
  4. /**
  5. * 带业务参数的消息
  6. */
  7. @Data
  8. public class BusMessageDTO extends MessageDTO implements Serializable {
  9. private static final long serialVersionUID = 9104793287983367669L;
  10. /**
  11. * 业务类型
  12. */
  13. private String busType;
  14. /**
  15. * 业务id
  16. */
  17. private String busId;
  18. public BusMessageDTO(){
  19. }
  20. /**
  21. * 构造 带业务参数的消息
  22. * @param fromUser
  23. * @param toUser
  24. * @param title
  25. * @param msgContent
  26. * @param msgCategory
  27. * @param busType
  28. * @param busId
  29. */
  30. public BusMessageDTO(String fromUser, String toUser, String title, String msgContent, String msgCategory, String busType, String busId){
  31. super(fromUser, toUser, title, msgContent, msgCategory);
  32. this.busId = busId;
  33. this.busType = busType;
  34. }
  35. }