/* * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[遇见知启蒙,邂逅框架梦] * * 知启蒙WEB容器(zhiqim_httpd)在LGPL3.0协议下开源:https://www.zhiqim.com/gitcan/zhiqim/zhiqim_httpd.htm * * This file is part of [zhiqim_httpd]. * * [zhiqim_httpd] is free software: you can redistribute * it and/or modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * [zhiqim_httpd] is distributed in the hope that it will * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with [zhiqim_httpd]. * If not, see . */ package org.zhiqim.announcement.dbo; import org.zhiqim.announcement.dbo.ZoaAnnouncementReader; import org.zhiqim.kernel.annotation.AnAlias; import org.zhiqim.kernel.json.Jsons; import org.zhiqim.orm.annotation.*; /** * 公告阅读扩展视图 对应视图《ZOA_ANNOUNCEMENT_READER_EX》 */ @AnAlias("ZoaAnnouncementReaderEx") @AnView("ZOA_ANNOUNCEMENT_READER,ZMR_OPERATOR") @AnViewJoin({@AnViewJoinValue(type="EQUAL", lTable="ZOA_ANNOUNCEMENT_READER", lColumn="OPERATOR_CODE", rTable="ZMR_OPERATOR", rColumn="OPERATOR_CODE")}) public class ZoaAnnouncementReaderEx extends ZoaAnnouncementReader { private static final long serialVersionUID = 1L; @AnViewField(table="ZMR_OPERATOR", column="OPERATOR_CODE") private String operatorCode; //2.操作员编码 @AnViewField(table="ZMR_OPERATOR", column="OPERATOR_NAME") private String operatorName; //3.操作员名称 @AnViewField(table="ZMR_OPERATOR", column="OPERATOR_AVATAR") private long operatorAvatar; //4.操作员头像编号 public String toString() { return Jsons.toString(this); } public String getOperatorCode() { return operatorCode; } public void setOperatorCode(String operatorCode) { this.operatorCode = operatorCode; } public String getOperatorName() { return operatorName; } public void setOperatorName(String operatorName) { this.operatorName = operatorName; } public long getOperatorAvatar() { return operatorAvatar; } public void setOperatorAvatar(long operatorAvatar) { this.operatorAvatar = operatorAvatar; } }