/** @inheritdoc */ @Override public void readEntity(Cursor cursor, ThirdGameDownInfo entity, int offset) { entity.setId(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0)); entity.setGameURLId(cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1)); entity.setUrl(cursor.isNull(offset + 2) ? null : cursor.getString(offset + 2)); entity.setDownToken(cursor.isNull(offset + 3) ? null : cursor.getInt(offset + 3)); entity.setRemark(cursor.isNull(offset + 4) ? null : cursor.getString(offset + 4)); entity.setLogoUrl(cursor.isNull(offset + 5) ? null : cursor.getString(offset + 5)); entity.setGameId(cursor.getString(offset + 6)); }
/** @inheritdoc */ @Override protected Long updateKeyAfterInsert(ThirdGameDownInfo entity, long rowId) { entity.setId(rowId); return rowId; }