/** @inheritdoc */
 @Override
 public void readEntity(Cursor cursor, Lecture entity, int offset) {
   entity.setGoods_id(cursor.isNull(offset + 0) ? null : cursor.getString(offset + 0));
   entity.setId(cursor.isNull(offset + 1) ? null : cursor.getLong(offset + 1));
   entity.setName(cursor.isNull(offset + 2) ? null : cursor.getString(offset + 2));
   entity.setLectureId(cursor.isNull(offset + 3) ? null : cursor.getString(offset + 3));
   entity.setImage(cursor.isNull(offset + 4) ? null : cursor.getString(offset + 4));
   entity.setInfo(cursor.isNull(offset + 5) ? null : cursor.getString(offset + 5));
   entity.setUserId(cursor.isNull(offset + 6) ? null : cursor.getString(offset + 6));
 }
 /** @inheritdoc */
 @Override
 protected Long updateKeyAfterInsert(Lecture entity, long rowId) {
   entity.setId(rowId);
   return rowId;
 }