da85b0143577dd0aa65658121eb38140b156ca1b.svn-base 1019 B

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