RedisMqPublisher.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package com.yihu.ehr.redis.pubsub.entity;
  2. import com.yihu.ehr.entity.BaseIdentityEntity;
  3. import javax.persistence.*;
  4. /**
  5. * redis消息发布者 Entity
  6. *
  7. * @author 张进军
  8. * @date 2017/11/20 09:35
  9. */
  10. @Entity
  11. @Table(name = "redis_mq_publisher")
  12. public class RedisMqPublisher extends BaseIdentityEntity {
  13. public String appId; // 应用ID
  14. public String authorizedCode; // 授权码
  15. public String channel; // 消息队列编码
  16. public String remark; // 备注
  17. @Column(name = "app_id")
  18. public String getAppId() {
  19. return appId;
  20. }
  21. public void setAppId(String appId) {
  22. this.appId = appId;
  23. }
  24. @Column(name = "authorized_code")
  25. public String getAuthorizedCode() {
  26. return authorizedCode;
  27. }
  28. public void setAuthorizedCode(String authorizedCode) {
  29. this.authorizedCode = authorizedCode;
  30. }
  31. @Column(name = "channel")
  32. public String getChannel() {
  33. return channel;
  34. }
  35. public void setChannel(String channel) {
  36. this.channel = channel;
  37. }
  38. @Column(name = "remark")
  39. public String getRemark() {
  40. return remark;
  41. }
  42. public void setRemark(String remark) {
  43. this.remark = remark;
  44. }
  45. }