// ============================================================
 // <T>序列化内容到数据。</T>
 //
 // @param output 输出流
 // ============================================================
 @Override
 public void serialize(IDataOutput output) {
   super.serialize(output);
   output.writeInt64(_ouid);
   output.writeBoolean(_ovld);
   output.writeString(_guid);
   output.writeInt64(_linkParentId);
   output.writeInt64(_linkId);
   output.writeString(_code);
   output.writeString(_name);
   output.writeString(_label);
   output.writeInt32(_departmentId);
   output.writeString(_departmentLabel);
   output.writeInt32(_regionId);
   output.writeString(_regionLabel);
   output.writeInt32(_level);
   output.writeInt64(_leaderId);
   output.writeString(_leaderLabel);
   output.writeString(_leaderPhone);
   output.writeInt32(_provinceId);
   output.writeString(_provinceLabel);
   output.writeInt32(_cityId);
   output.writeString(_cityLabel);
   output.writeString(_detailAddress);
   output.writeString(_departmentPhone);
   output.writeInt64(_buildDate.get());
   output.writeString(_note);
   output.writeInt64(_createUserId);
   output.writeInt64(_createDate.get());
   output.writeInt64(_updateUserId);
   output.writeInt64(_updateDate.get());
 }
Ejemplo n.º 2
0
 // ============================================================
 // <T>序列化内容到数据。</T>
 //
 // @param output 输出流
 // ============================================================
 @Override
 public void serialize(IDataOutput output) {
   super.serialize(output);
   output.writeInt64(_ouid);
   output.writeBoolean(_ovld);
   output.writeString(_guid);
   output.writeInt64(_userId);
   output.writeInt64(_projectId);
   output.writeInt64(_resourceId);
   output.writeString(_code);
   output.writeString(_label);
   output.writeString(_content);
   output.writeString(_note);
   output.writeInt64(_createUserId);
   output.writeInt64(_createDate.get());
   output.writeInt64(_updateUserId);
   output.writeInt64(_updateDate.get());
 }
 // ============================================================
 // <T>序列化内容到数据。</T>
 //
 // @param output 输出流
 // ============================================================
 @Override
 public void serialize(IDataOutput output) {
   super.serialize(output);
   output.writeInt64(_ouid);
   output.writeBoolean(_ovld);
   output.writeString(_guid);
   output.writeInt64(_memberId);
   output.writeString(_productCode);
   output.writeString(_timeSection);
   output.writeInt32(_pv);
   output.writeInt64(_createUserId);
   output.writeInt64(_createDate.get());
   output.writeInt64(_updateUserId);
   output.writeInt64(_updateDate.get());
 }