/// <summary>
        /// Converts this instance of <see cref="GESTION_INDICADORES_DETALLE"/> to an instance of <see cref="GESTION_INDICADORES_DETALLEDTO"/>.
        /// </summary>
        /// <param name="entity"><see cref="GESTION_INDICADORES_DETALLE"/> to convert.</param>
        public static GESTION_INDICADORES_DETALLEDTO ToDTO(this GESTION_INDICADORES_DETALLE entity)
        {
            if (entity == null) return null;

            var dto = new GESTION_INDICADORES_DETALLEDTO();

            dto.ID = entity.ID;
            dto.GESTION = entity.GESTION;
            dto.SUBGESTION = entity.SUBGESTION;
            dto.TIPO = entity.TIPO;
            dto.ANHO = entity.ANHO;
            dto.MES = entity.MES;
            dto.DIA = entity.DIA;
            dto.HORA = entity.HORA;
            dto.FECHA = entity.FECHA;
            dto.TXT_01 = entity.TXT_01;
            dto.TXT_02 = entity.TXT_02;
            dto.TXT_03 = entity.TXT_03;
            dto.TXT_04 = entity.TXT_04;
            dto.TXT_05 = entity.TXT_05;
            dto.TXT_06 = entity.TXT_06;
            dto.TXT_07 = entity.TXT_07;
            dto.TXT_08 = entity.TXT_08;
            dto.TXT_09 = entity.TXT_09;
            dto.TXT_10 = entity.TXT_10;
            dto.TXT_11 = entity.TXT_11;
            dto.TXT_12 = entity.TXT_12;
            dto.IDORIGEN = entity.IDORIGEN;
            dto.DESCRIPCION_ORIGEN = entity.DESCRIPCION_ORIGEN;
            dto.CANTIDAD = entity.CANTIDAD;
            dto.TIEMPO = entity.TIEMPO;

            entity.OnDTO(dto);

            return dto;
        }
        /// <summary>
        /// Invoked when <see cref="ToDTO"/> operation is about to return.
        /// </summary>
        /// <param name="dto"><see cref="GESTION_INDICADORES_DETALLEDTO"/> converted from <see cref="GESTION_INDICADORES_DETALLE"/>.</param>
partial         static void OnDTO(this GESTION_INDICADORES_DETALLE entity, GESTION_INDICADORES_DETALLEDTO dto);