7bc07eeb3499c0b56f391001d7aa9a362c076cba.svn-base 743 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package org.jeecg.common.api.dto.message;
  2. import lombok.Data;
  3. import java.io.Serializable;
  4. import java.util.Map;
  5. /**
  6. * 消息模板dto
  7. */
  8. @Data
  9. public class TemplateDTO implements Serializable {
  10. private static final long serialVersionUID = 5848247133907528650L;
  11. /**
  12. * 模板编码
  13. */
  14. protected String templateCode;
  15. /**
  16. * 模板参数
  17. */
  18. protected Map<String, String> templateParam;
  19. /**
  20. * 构造器 通过设置模板参数和模板编码 作为参数获取消息内容
  21. */
  22. public TemplateDTO(String templateCode, Map<String, String> templateParam){
  23. this.templateCode = templateCode;
  24. this.templateParam = templateParam;
  25. }
  26. public TemplateDTO(){
  27. }
  28. }