0
0

Message.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. package com.emato.ich.entity;
  2. /**
  3. * Message
  4. */
  5. public class Message {
  6. private int messageId;
  7. private String msgId;
  8. private String clientId;
  9. private String cmd;
  10. private String datetime;
  11. private int port;
  12. /**
  13. * 场景
  14. * order_prepare_failed 预下单失败
  15. * order_prepare
  16. */
  17. private String scene;
  18. private int section;
  19. /**
  20. * 失败原因, 成功为null
  21. */
  22. private String cause;
  23. private String remark;
  24. public String getClientId() {
  25. return clientId;
  26. }
  27. public void setClientId(String clientId) {
  28. this.clientId = clientId;
  29. }
  30. public String getCmd() {
  31. return cmd;
  32. }
  33. public void setCmd(String cmd) {
  34. this.cmd = cmd;
  35. }
  36. public String getDatetime() {
  37. return datetime;
  38. }
  39. public void setDatetime(String datetime) {
  40. this.datetime = datetime;
  41. }
  42. public int getPort() {
  43. return port;
  44. }
  45. public void setPort(int port) {
  46. this.port = port;
  47. }
  48. public String getScene() {
  49. return scene;
  50. }
  51. public void setScene(String scene) {
  52. this.scene = scene;
  53. }
  54. public int getSection() {
  55. return section;
  56. }
  57. public void setSection(int section) {
  58. this.section = section;
  59. }
  60. public int getMessageId() {
  61. return messageId;
  62. }
  63. public void setMessageId(int messageId) {
  64. this.messageId = messageId;
  65. }
  66. public String getCause() {
  67. return cause;
  68. }
  69. public void setCause(String cause) {
  70. this.cause = cause;
  71. }
  72. public String getRemark() {
  73. return remark;
  74. }
  75. public void setRemark(String remark) {
  76. this.remark = remark;
  77. }
  78. public String getMsgId() {
  79. return msgId;
  80. }
  81. public void setMsgId(String msgId) {
  82. this.msgId = msgId;
  83. }
  84. @Override
  85. public String toString() {
  86. return "Message{" +
  87. "messageId=" + messageId +
  88. ", msgId='" + msgId + '\'' +
  89. ", clientId='" + clientId + '\'' +
  90. ", cmd='" + cmd + '\'' +
  91. ", datetime='" + datetime + '\'' +
  92. ", port=" + port +
  93. ", scene='" + scene + '\'' +
  94. ", section=" + section +
  95. ", cause='" + cause + '\'' +
  96. ", remark='" + remark + '\'' +
  97. '}';
  98. }
  99. }