ZoaAnnouncementReaderEx.java 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[遇见知启蒙,邂逅框架梦]
  3. *
  4. * 知启蒙WEB容器(zhiqim_httpd)在LGPL3.0协议下开源:https://www.zhiqim.com/gitcan/zhiqim/zhiqim_httpd.htm
  5. *
  6. * This file is part of [zhiqim_httpd].
  7. *
  8. * [zhiqim_httpd] is free software: you can redistribute
  9. * it and/or modify it under the terms of the GNU Lesser General Public License
  10. * as published by the Free Software Foundation, either version 3 of the
  11. * License, or (at your option) any later version.
  12. *
  13. * [zhiqim_httpd] is distributed in the hope that it will
  14. * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU Lesser General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public License
  19. * along with [zhiqim_httpd].
  20. * If not, see <http://www.gnu.org/licenses/>.
  21. */
  22. package org.zhiqim.announcement.dbo;
  23. import org.zhiqim.announcement.dbo.ZoaAnnouncementReader;
  24. import org.zhiqim.kernel.annotation.AnAlias;
  25. import org.zhiqim.kernel.json.Jsons;
  26. import org.zhiqim.orm.annotation.*;
  27. /**
  28. * 公告阅读扩展视图 对应视图《ZOA_ANNOUNCEMENT_READER_EX》
  29. */
  30. @AnAlias("ZoaAnnouncementReaderEx")
  31. @AnView("ZOA_ANNOUNCEMENT_READER,ZMR_OPERATOR")
  32. @AnViewJoin({@AnViewJoinValue(type="EQUAL", lTable="ZOA_ANNOUNCEMENT_READER", lColumn="OPERATOR_CODE", rTable="ZMR_OPERATOR", rColumn="OPERATOR_CODE")})
  33. public class ZoaAnnouncementReaderEx extends ZoaAnnouncementReader
  34. {
  35. private static final long serialVersionUID = 1L;
  36. @AnViewField(table="ZMR_OPERATOR", column="OPERATOR_CODE") private String operatorCode; //2.操作员编码
  37. @AnViewField(table="ZMR_OPERATOR", column="OPERATOR_NAME") private String operatorName; //3.操作员名称
  38. @AnViewField(table="ZMR_OPERATOR", column="OPERATOR_AVATAR") private long operatorAvatar; //4.操作员头像编号
  39. public String toString()
  40. {
  41. return Jsons.toString(this);
  42. }
  43. public String getOperatorCode()
  44. {
  45. return operatorCode;
  46. }
  47. public void setOperatorCode(String operatorCode)
  48. {
  49. this.operatorCode = operatorCode;
  50. }
  51. public String getOperatorName()
  52. {
  53. return operatorName;
  54. }
  55. public void setOperatorName(String operatorName)
  56. {
  57. this.operatorName = operatorName;
  58. }
  59. public long getOperatorAvatar()
  60. {
  61. return operatorAvatar;
  62. }
  63. public void setOperatorAvatar(long operatorAvatar)
  64. {
  65. this.operatorAvatar = operatorAvatar;
  66. }
  67. }